Measure (hwx.inspire.core)

Measures the distance between two points, the length of a feature or an angle between three points.

Measure supports:

  • Length: It has two connecting points.
  • Angle: It has three connecting points.

Attributes

active: Bool name: Attribute visible: Bool

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.

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.

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

location()

Returns the location of the measure on entity1.

locations()

Returns a list of locations for each entity associated with measure.

parts()

Returns list of parts associated with measure