Creates a new hosted point load within the project.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public static PointLoad Create(
Document document,
ElementId hostElemId,
AnalyticalElementSelector selector,
XYZ forceVector,
XYZ momentVector,
PointLoadType symbol
)
Parameters
- document Document
-
Document to which new point load will be added.
- hostElemId ElementId
-
The AnalyticalMember host element for the point Load.
- selector AnalyticalElementSelector
-
The start or end point of the Analytical Member element.
- forceVector XYZ
-
The applied 3d force vector.
- momentVector XYZ
-
The applied 3d moment vector.
- symbol PointLoadType
-
The symbol of the PointLoad. Set null to use default type.
Return Value
PointLoad
If successful, returns the newly created PointLoad,
null otherwise.
Exceptions
See Also
Reference