IInsertEntity

class IInsertEntity

Bases: IEntity

Description:

Represents a generic insert entity.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property angle

Gets Angle.

Description:

Sets and gets the rotated state of the insert.

Returns:

The value of Angle.

Return type:

angle (float)

property insert_type

Gets insert_type.

Description:

Indicates the type of insert.

Returns:

The value of insert_type.

Return type:

insert_type (ipInsertType)

Examples:

property matrix

Gets Matrix.

Description:

Sets and gets the transformation matrix used by the insert. (This matrix is equivalent to the Origin, Angle, Mirrored, and Scale properties.)

Remarks:

Introduced in Impact 7.0.0.31.

Returns:

The value of Matrix.

Return type:

matrix (IMatrix)

property mirrored

Gets Mirrored.

Description:

Sets and gets the mirrored state of the insert.

Returns:

The value of Mirrored.

Return type:

mirrored (bool)

property origin

Gets Origin.

Description:

Sets and gets the origin (point of insertion).

Returns:

The value of Origin.

Return type:

origin (IVector)

property scale

Gets Scale.

Description:

Sets and gets the scale.

Returns:

The value of Scale.

Return type:

scale (float)