Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

getComponentAnnotations

getComponentAnnotations

Hi,
I want to know what is defintion of each values returned by getComponentAnnotations
I was not able to interpret from the pattern
For example below are getComponentAnnotation for Inertia Block and ChuaCircuit .
I was not able to locate a document explaining the constituents of return statement

Code:

>> getComponentAnnotations(Modelica.Mechanics.Rotational.Components.Inertia)

{{},{HideResult=true, Dialog("Advanced","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("General","Initialization",true,true,false,-,-,-,-,"",false)},{Dialog("General","Initialization",true,true,false,-,-,-,-,"",false)},{Dialog("General","Initialization",true,true,false,-,-,-,-,"",false)}}

Code:

>> getComponentAnnotations(Modelica.Electrical.Analog.Examples.ChuaCircuit)

{{Placement(true,-75.0,38.0,-25.0,-25.0,25.0,25.0,270.0,-,-,-,-,-,-,)},{Placement(true,-75.0,-17.0,-25.0,-25.0,25.0,25.0,270.0,-,-,-,-,-,-,)},{Placement(true,-,-,-25.0,38.0,25.0,88.0,-,-,-,-,-,-,-,)},{Placement(true,25.0,3.0,-25.0,-25.0,25.0,25.0,270.0,-,-,-,-,-,-,)},{Placement(true,-25.0,3.0,-25.0,-25.0,25.0,25.0,270.0,-,-,-,-,-,-,)},{Placement(true,75.0,3.0,-25.0,-25.0,25.0,25.0,270.0,-,-,-,-,-,-,)},{Placement(true,-,-,-25.0,-112.0,25.0,-62.0,-,-,-,-,-,-,-,)}}

Code:

Thanks

There are 0 guests and 0 other users also viewing this topic