IShapes

class IShapes

Bases: ImpactCOMWrapperBase, Iterable

Description:

A collection of IShape objects.

Remarks:

Provides a way to perform operations on several shapes at once. Introduced in Impact 10.0.0.59

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.

Description:

The number of items in this collection.

Returns:

The value of Count.

Return type:

count (int)

add(value)
Description:

Adds an existing IShape object to the collection.

Parameters:

value (IShape) – The IShape to be added to the collection.

item(index)
Description:

Gets the IShape object with the specified index.

Parameters:

index (any) – Gets an IShape object with the specified index.

union()
Description:

Unites all the shapes in the collection, thereby creating a new shape.

Remarks:

When uniting several shapes, it is usually much faster to use this method than to use IShape.union for each of the shapes. Introduced in Impact 10.0.0.59