- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » own components : class not found in...
own components : class not found in scope
own components : class not found in scope
Hi,
I try to make a model including own components.
This works well until i close openmodica and reopen it. The components are not found anymore and i have an error 'class (my component) not found in scope (my model)'
In the schematics the component appears as a red box with cross :
How can i specify the location of my components so that the model find them once saved en reopened ?
Thanks
Greg
- ggtlse
- 14 Posts
Re: own components : class not found in scope
When you reopen then you should first load the dependent models and then open the diagram view.
Its a known bug in OMEdit that it fails to update the component if dependent models are loaded later on.
Adeel.
- adeas
- 454 Posts
Re: own components : class not found in scope
Thanks. It works well in this order.
Is there a way to script the loading of multiple components in good order ? ( With OMShell perhaps ? )
- ggtlse
- 14 Posts
Re: own components : class not found in scope
No. It should work in any order. It is a bug (https://trac.openmodelica.org/OpenModelica/ticket/2393) which I have to fix .
Adeel.
- adeas
- 454 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » own components : class not found in...