FabricationPart.SplitStraight(XYZ)
Method
Description:
Splits the straight into two at the passed in point.
Splits the straight into two at the passed in point.
Parameters
| Parameter | Type | Description |
|---|---|---|
| position | XYZ | The position to split in the straight. |
Return Value
| Type | Description |
|---|---|
| ElementId | Returns the element identifier of the new straight. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The position is not on the straight. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The part is not a straight. |