Sets start and end point of the line load.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic bool SetPoints(
XYZ startPoint,
XYZ endPoint
)
Public Function SetPoints (
startPoint As XYZ,
endPoint As XYZ
) As Boolean
public:
bool SetPoints(
XYZ^ startPoint,
XYZ^ endPoint
)
member SetPoints :
startPoint : XYZ *
endPoint : XYZ -> bool
Parameters
- startPoint XYZ
-
The start point.
- endPoint XYZ
-
The end point.
Return Value
Boolean
Returns true if successful, false otherwise.
Exceptions
Remarks
This method works with hosted line load only.
This method works for loads which are not constrained to their host.
The curve of the resulted load will be a line.
See Also