PointLoadCreate(Document, ElementId, XYZ, XYZ, XYZ, PointLoadType) Method |
Creates a new custom hosted point load within the project using data at point.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic static PointLoad Create(
Document document,
ElementId hostElemId,
XYZ point,
XYZ forceVector,
XYZ momentVector,
PointLoadType symbol
)
Public Shared Function Create (
document As Document,
hostElemId As ElementId,
point As XYZ,
forceVector As XYZ,
momentVector As XYZ,
symbol As PointLoadType
) As PointLoad
public:
static PointLoad^ Create(
Document^ document,
ElementId^ hostElemId,
XYZ^ point,
XYZ^ forceVector,
XYZ^ momentVector,
PointLoadType^ symbol
)
static member Create :
document : Document *
hostElemId : ElementId *
point : XYZ *
forceVector : XYZ *
momentVector : XYZ *
symbol : PointLoadType -> PointLoad
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
PointLoad
If successful, returns the newly created PointLoad,
otherwise.
Exceptions
See Also