|Re: Unable to set viewpoint to existing project [message #1385432 is a reply to message #1385430]
||Fri, 06 June 2014 12:02
| Maxime Porhel
Registered: July 2009
Le 06/06/2014 13:43, Wilbert Alberts a écrit :|
> I've had this problem before but now it starts to annoy me.
> At irregular moments, my visualisation gets corrupted and sometimes I
> want to start from a clean sheet.
Have you identified the scenario which seems to corrupt your data ?
> In that case, I remove the modeling nature from the project that
> contains the model to be visualized. After that, I delete the
> corresponding .aird file. Then I restart eclipse, add the modeling
> nature again and try to select a new viewpoint.
> Sometimes now viewpoints are available and I don't know how to get them
> Any reasons why and when the list of available viewpoints becomes empty?
It could happen if there are no detected semantic resources and so no
Viewpoint available. When you get this empty list, are the semantic
models of your project loaded ? (in the model explorer, you should be
able to expand them).
The next time this occurs, could you remove the modeling nature, right
clic your semantic resource and select new representation file ? It is
an other mode in which there is no modeling project but the aird
centralized the informations: actions to manipulate Viewpoints and
representations, semantic resources displayed as children, ...
It might allow to surround the problem which seems to be located around
the semantic resource detection during the convertion to the modeling
If in the mode, you have your Viewpoints, save and retry the conversion
(do not delete the aird), then check the Viewpoint selection and that
all the semantic resources of your project are well loaded.
Which Sirius version do you use ?
From which perspective do you re-add the modeling nature ?
|Re: Unable to set viewpoint to existing project [message #1386129 is a reply to message #1386099]
||Fri, 13 June 2014 13:47
| Maxime Porhel
Registered: July 2009
Le 13/06/2014 14:16, Wilbert Alberts a écrit :|
> Hi Maxime,
> I encountered the same problem. So I:
> - removed the modeling project
> - created a new representation file
> - used that one to visualize.
> That seemed to work. Am I right that this way of working does not
> require the project to have the modeling nature? Or do I still need to
> add the modeling nature? After a restart, it seemed that (without the
> project having the modeling nature), the aird files couldn't be expanded
> until I double clicked them.
> But it is very well possible that my lack of knowledge results in some
> unexpected behavior (from me; not from the tool).
A project with the Modeling Project nature can contain one aird in a
basic way. Sirius will use the project lifecylce to manage the aird and
the semantic resources. The handled/loaded models have a decorator (the
blue M of the modeling project) and the user can directly expand them to
see their content from their corresponding IFile in the Modeling
Explorer. The external loaded files/models are displayed as children of
the project dependencies item.
In a more complex way (with the use of the control/uncontrol for
example), the user will create several sub aird files. But there is only
one "main" aird.
Without the Modeling Project nature, a project can contain several
"main" aird, Sirius use only the aird to manage/display the handled
resources: the handled files have the same decorator decorator (the blue
M of the modeling project) but the user cannot expand the files, he has
to manipulate the loaded semantic resource from the corresponding items
displayed as children of the aird file.
> Thanks in anyway.
Powered by FUDForum
. Page generated in 0.01635 seconds