PointLoad.Create
Description:
Creates a new hosted point load within the project.
Creates a new hosted point load within the project.
Overloads (2):
Create(Document,ElementId,AnalyticalElementSelector,XYZ,XYZ,PointLoadType)
public static PointLoad Create(
Document document,
ElementId hostElemId,
AnalyticalElementSelector selector,
XYZ forceVector,
XYZ momentVector,
PointLoadType symbol
)
-
documentDocument to which new point load will be added.
-
hostElemIdThe AnalyticalMember host element for the point Load.
-
selectorThe start or end point of the Analytical Member element.
-
forceVectorThe applied 3d force vector.
-
momentVectorThe applied 3d moment vector.
-
symbolThe symbol of the PointLoad. Set null to use default type.
-
The element hostElemId does not exist in the document -or- hostElemId is not permitted for this type of load.
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration
-
Thrown when force and moment vectors are equal zero.
-
Thrown if type could not be set for newly created point load.