Function that returns the specified body using an index into the collection.
"bRepBodies_var" is a variable referencing a BRepBodies object. |
"bRepBodies_var" is a variable referencing a BRepBodies object. |
"bRepBodies_var" is a variable referencing a BRepBodies object. |
| Type | Description |
| BRepBody | Returns the specified item or null if an invalid index was specified. |
| Name | Type | Description |
| index | uinteger | The index of the item within the collection to return. The first item in the collection has an index of 0. |
| Name | Description |
| Get Volume of Active Design API Sample | Demonstrates traverses through the active design and totals the volume of every body within the design. Before running: No open document is required; the script creates a new design (or additional documents) as it runs. |