Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#3726 closed defect (fixed)

Unit of derived types are missing

Reported by: Henning Kiel Owned by: Adeel Asghar
Priority: high Milestone:
Component: OMEdit Version: v1.9.4-dev-nightly
Keywords: Cc: Lennart Ochel

Description

In OMEdit, if I have a derived type like Diameter in Modelica.SIunits

type Length = Real (final quantity="Length", final unit="m");
type Diameter = Length(min=0);

then in a property box the unit "m" is not displayed for the derived type (e.g. Modelica.Fluid.Exmples.HeatingSystem element "heater").

Change History (5)

comment:1 by Lennart Ochel, 9 years ago

Cc: Lennart Ochel added

comment:2 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

comment:3 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:4 by Adeel Asghar, 9 years ago

Resolution: fixed
Status: newclosed

I have been working on #2250 and it seems this ticket is fixed as part of the work done for #2250. However, the work is not complete yet so you will be able to see the unit but the drop down box is disabled.

The nightly builds are broken at the moment but once they are up do try the latest version and let me know if you still have issues.

comment:5 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.