IEnquireInsertion

class IEnquireInsertion

Bases: ImpactCOMWrapperBase

Summary:

The IEnquireInsertion object contains information about entities inserted into an IBlock.

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

property area

Gets Area.

Summary:

The total area of the insertions (see remarks).

Remarks:

This is not an accurately calculated area. It is simply the area of the rectangle containing all the entities in the insertion, multiplied by the Count of insertions.

Returns:

The value of Area.

Return type:

area (float)

property count

Gets Count.

Summary:

The number of insertions of this entity.

Returns:

The value of Count.

Return type:

count (int)

property name

Gets Name.

Summary:

The name of the entity inserted.

Returns:

The value of Name.

Return type:

name (str)

property scale

Gets Scale.

Summary:

The scale the entity is inserted at.

Returns:

The value of Scale.

Return type:

scale (float)

property type

Gets Type.

Summary:

The type of the entity inserted.

Returns:

The value of Type.

Return type:

type (ipBlockType)

isNone()

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