Opened 9 years ago
Closed 9 years ago
#4259 closed defect (fixed)
Omedit does not show a probably right annotation
| Reported by: | anonymous | Owned by: | Martin Sjölund |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.12.0 |
| Component: | Interactive Environment | Version: | |
| Keywords: | Cc: | Adrian Pop |
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)
by , 9 years ago
| Attachment: | VarLenLine.mo added |
|---|
comment:1 by , 9 years ago
| Cc: | added |
|---|---|
| Component: | OMEdit → Interactive Environment |
| Owner: | changed from to |
| Status: | new → assigned |
by , 9 years ago
| Attachment: | VarLenLine.mos added |
|---|
comment:2 by , 9 years ago
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 by , 9 years ago
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 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

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
getIconAnnotationfails.