Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OMEdit fails to update relative class names to absolute ones upon duplicate #4536

Open
OpenModelica-TracImporter opened this issue Jun 27, 2020 · 3 comments
Assignees
Milestone

Comments

@OpenModelica-TracImporter
Copy link
Member

No description provided.

@dietmarw
Copy link
Contributor

dietmarw commented Sep 9, 2022

Just hit this problem again when preparing a workshop for new beginners. Is there any workaround other than having to manually update the class names in the duplicated model?
@christiankral Any experience with this?

@christiankral
Copy link

In the open source libraries provided on one of my GitHub repositories I replaced all relative class names in then examples by absolute class names. I have unfortunately no better option up to now.

Apparently the new front end seems to provide some new opportunities, see https://trac.openmodelica.org/OpenModelica/ticket/4536#comment:3

@casella I very much agree with @dietmarw that this issue is relevant for beginners. Moreover, if not familiar to (Modelica and) OpenModelica, some potential user might loose their interest, if a simple copy of a Modelica class "fails" due the missing capability of converting relative to absolute instance names.

@casella
Copy link
Contributor

casella commented Oct 19, 2022

@christiankral I absolutely agree. This thing will be top priority once that #8425 and related issues will be solved.

@casella casella added this to the 1.21.0 milestone Oct 19, 2022
@casella casella modified the milestones: 1.21.0, 1.22.0 Apr 18, 2023
@casella casella modified the milestones: 1.22.0, 1.23.0 Nov 8, 2023
@casella casella modified the milestones: 1.23.0, 1.24.0 Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants