# 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 textColor: Color textHeader: 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.

### textColor : Color¶

Get/Set text color associated with measure entity.

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¶

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