Sets start and end point of the line load.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public bool SetPoints( XYZ startPoint, XYZ endPoint )
Parameters
Return Value
BooleanReturns true if successful, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the end point is equal to the start point. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | This LineLoad is not a hosted load. -or- This LineLoad is a constrained load. |