IBlockInserts

class IBlockInserts

Bases: ImpactCOMWrapperBase, Iterable

Summary:

A collection of IInsertEntity objects.

Remarks:

The insert entities in this collection could be any one of the IInsertEntity derivatives, i.e. IBlockInsert ISymbolInsert ILayerInsert IMasterLayerInsert Ensure you inspect the IInsertEntity.insert_type property before casting to a specific type of insert entity derivative such as IBlockInsert.

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

property count

Gets Count.

Summary:

The number of items in this collection.

Returns:

The value of Count.

Return type:

count (int)

isNone()

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

item(variant)
Summary:

Gets an IInsertEntity object with the specified index.

Parameters:

variant (any) – Specifies the index of the object to retrieve.