IBlockInsert¶
- class IBlockInsert¶
Bases:
IInsertEntity- Description:
Represents a block insert entity.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property active¶
Gets Active.
- Description:
Indicates if the block identified by the property ‘inserted_object’ is the active block.
- Remarks:
In order to make a block active, you must find a block insertion and use the IBlockInsert.activate method.
- Returns:
The value of Active.
- Return type:
active (bool)
- property inserted_block¶
Gets inserted_block.
- Description:
Represents the IBlock object for which this entity is an insertion.
- Remarks:
For an IBlockInsert entity, this property gives the same value as inserted_object. This inserted_block property is only present for compatibility with other insertion entities. Introduced in Impact 8.0.0.51
- Returns:
The value of inserted_block.
- Return type:
- property inserted_object¶
Gets inserted_object.
- Description:
Represents the IBlock object for which this entity is an insertion.
- Returns:
The value of inserted_object.
- Return type:
- activate()¶
- Description:
Makes this block insertion the current one.
- Remarks:
Many of the drawing methods work on the active block (using IActiveBlock), so to modify any other block you must first make it active. Both IBlock and IBlockInsert have an Active property.