IDrawings¶
- class IDrawings¶
Bases:
ImpactCOMWrapperBase,Iterable- Summary:
A collection of IDrawing objects.
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)
- add(name)¶
- Summary:
Creates a new drawing.
- Remarks:
This method is deprecated; please use IDatabase.create_item instead. If a drawing with the specified name already exists a unique name is generated based upon the specified name and assigned to the new drawing.
- Parameters:
name (str) – Specifies the name of the new drawing.
- 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 IDrawing object with the specified name or index.
- Parameters:
variant (any) – Specifies the name or index of the object to retrieve.
- remove(variant)¶
- Summary:
Closes the specified drawing.
- Remarks:
This method is deprecated; please use IDrawing.close instead.
- Parameters:
variant (any) – Specifies the name or index of the drawing to close.