Revit 2026 API
Fabrication |
Validates if the straight can be split into two at the passed in point.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool CanSplitStraight( XYZ position )
Public Function CanSplitStraight ( position As XYZ ) As Boolean
public: bool CanSplitStraight( XYZ^ position )
member CanSplitStraight : position : XYZ -> bool
Parameters
- position XYZ
- The position to split in the straight.
Return Value
BooleanReturns true if valid otherwise false if the straight cannot be split.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also