Opened 7 years ago
Closed 7 years ago
#4259 closed defect (fixed)
Omedit does not show a probably right annotation
Reported by: | anonymous | Owned by: | sjoelund.se |
---|---|---|---|
Priority: | normal | Milestone: | 1.12.0 |
Component: | Interactive Environment | Version: | |
Keywords: | Cc: | adrpo |
Description
The model attached VarLenLine.mo has an icon created with Dymola, which seems correct.
However it is not displaied by Edit.
Attachments (2)
Change History (6)
Changed 7 years ago by anonymous
comment:1 Changed 7 years ago by adeas31
- Cc adrpo added
- Component changed from OMEdit to Interactive Environment
- Owner changed from adeas31 to sjoelund.se
- Status changed from new to assigned
Changed 7 years ago by adeas31
comment:2 Changed 7 years ago by sjoelund.se
This I guess is because elabGraphicsExp doesn't produce any error-messages and uses the graphics definitions from the built-in record. I can look into it to see how we can allow this to give warnings / notifications and simply proceeding regardless.
comment:3 Changed 7 years ago by sjoelund.se
And of course... it calls elabCall, which is the general version of expression elaboration. And no error-messages can be displayed because they are all rolled back.
comment:4 Changed 7 years ago by sjoelund.se
- Resolution set to fixed
- Status changed from assigned to closed
Because Dymola is generating wrong code or probably you have manually written wrong code.
If you remove linePattern = LinePattern.Dash, from line 26 then it will work fine.
Martin this is what I was talking about. If there is something wrong in the annotation then getIconAnnotation fails.