LengthMeasure (hwx.inspire.core)¶
Measures the length between two points.
Length measure creates displacement velocity and acceleration requests expressed in global.
Optionally a system can be defined on the point to point measure. If defined the system will be used as RM marker.
Attributes¶
Attribute Details¶
active : Bool¶
Returns or sets the object activeness.
Setting this on or off sets all children. Setting to True sets all the parents active too.
length : Double (units=”length”)¶
Distance between the two connecting points.
name : Attribute¶
Returns or sets the name of the object.
It can be any text string, including spaces, although it’s best to avoid using the following characters: ” ‘ * ? and $.
While these characters are allowed, they could create difficulties when you export the model to other applications.
system : Attribute¶
The System associated with the length measure.
textColor : Color¶
Get/Set text color associated with measure entity.
textHeader : Attribute¶
Get/Set text header associated with measure entity.
visible : Bool¶
Determines whether the object is visible in the modeling window.
Setting this on or off sets all children. Setting to True sets all the parents visible too.
Property Details¶
-
entity1
()
The first Part or Feature the measure is attached to.
-
entity2
()
The second Part or Feature the measure is attached to.
-
location1
()
Location of the measure on entity1.
-
location2
()
Location of the measure on entity2.