IBridges¶
- class IBridges¶
Bases:
ImpactCOMWrapperBase,Iterable- Summary:
A collection of IBridge objects.
- Remarks:
The bridges are ordered by distance from the start of the entity, i.e. the first bridge in the collection is the closest to the start of the entity.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property bridge_mode¶
Gets bridge_mode.
- Summary:
Gets the bridge mode of the entity.
- Remarks:
Introduced in Impact 10.0.0.77.
- Returns:
The value of bridge_mode.
- Return type:
- property bridge_style¶
Gets bridge_style.
- Summary:
Gets the bridge style of the entity.
- Remarks:
Introduced in Impact 10.0.0.77.
- Returns:
The value of bridge_style.
- Return type:
bridge_style (str)
- property count¶
Gets Count.
- Summary:
The number of items in this collection.
- Returns:
The value of Count.
- Return type:
count (int)
- add(centre_absolute, width)¶
- Summary:
Adds a bridge.
- Remarks:
After calling this method the IBridges collection is invalid as it has been modified. Create a new local variable for the collection after calling this method.
- Parameters:
centre_absolute (float) – Specifies the start point of the bridge (NOT the centre point, as the name indicates); that is distance along the entity at which the bridge starts.
width (float) – Specifies the width of the bridge.
Examples:
- clear()¶
- Summary:
Removes all the bridges.
- Remarks:
After calling this method the IBridges collection is invalid as it has been modified. Create a new local variable for the collection after calling this method.
- 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(index)¶
- Summary:
Gets an IBridge object from this collection with the specified index.
- Parameters:
index (any) – Specifies the index of the item to get.
- rebridge(options)¶
- Summary:
Rebridges the entity using the specified options.
- Remarks:
Introduced in Impact 10.0.0.74.
- Parameters:
options (IRebridgeOptions) – Specifies how the entity should be rebridged.
- remove(bridge)¶
- Summary:
Removes the specified IBridge object.
- Remarks:
After calling this method the IBridges collection is invalid as it has been modified. Create a new local variable for the collection after calling this method.
- Parameters:
bridge (IBridge) – Specifies the IBridge object to remove.
Examples:
Examples