Point |
Creates a new custom hosted point load within the project using data at point.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)

public static PointLoad Create(
Document document,
ElementId hostElemId,
XYZ point,
XYZ forceVector,
XYZ momentVector,
PointLoadType symbol
)
Parameters
- document Document
- Document to which new point load will be added.
- hostElemId ElementId
- The AnalyticalElement host element for the point Load.
- point XYZ
- The position of point load, measured in decimal feet.
- forceVector XYZ
- The applied 3d force vector.
- momentVector XYZ
- The applied 3d moment vector.
- symbol PointLoadType
- The symbol of the PointLoad. Set to use default type.
Return Value
PointLoadIf successful, returns the newly created PointLoad, otherwise.

Exception | Condition |
---|---|
ArgumentException | hostElemId is not permitted for this type of load. -or- Thrown when work plane is not valid. |
ArgumentNullException | A non-optional argument was null |
ArgumentsInconsistentException | Thrown when force and moment vectors are equal zero. |
InvalidOperationException | Thrown if type could not be set for newly created point load. |
