IRecursedEntity

class IRecursedEntity

Bases: ImpactCOMWrapperBase

Summary:

An object returned from the recursed_entities method, comprising an entity and a transformation matrix.

Remarks:

Introduced in Impact 8.0.0.65

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

property entity

Gets Entity.

Summary:

The entity found.

Returns:

The value of Entity.

Return type:

entity (IEntity)

property level

Gets Level.

Summary:

The block level at which the entity was found.

Remarks:

If the entity is in the current block, the level is 0. If in a sub-block, the level is 1. If in a sub-block of a sub-block, the level is 2, and so on.

Returns:

The value of Level.

Return type:

level (int)

property matrix

Gets Matrix.

Summary:

The matrix required to transform the coordinates of the IEntity into block coordinates for the current block.

Returns:

The value of Matrix.

Return type:

matrix (IMatrix)

isNone()

Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.