PointLoad.Create
Description:
Creates a new hosted point load within the project.
Creates a new hosted point load within the project.
Overloads (3):
Create(Document,AnalyticalModel,XYZ,XYZ,PointLoadType)
public static PointLoad Create(
Document aDoc,
AnalyticalModel host,
XYZ forceVector,
XYZ momentVector,
PointLoadType symbol
)
-
aDocDocument to which new point load will be added.
-
hostThe Analytical Isolated Foundation type host element for the point Load.
-
forceVectorThe applied 3d force vector.
-
momentVectorThe applied 3d moment vector.
-
symbolThe symbol of the PointLoad. Set nulla null reference (Nothing in Visual Basic) to use default type.
Return Value
nullNothingnullptr
If successful, returns the newly created PointLoad, null Nothing nullptr a null reference ( Nothing in Visual Basic) otherwise.
-
The element host was not found in the given document. -or- Thrown when host is not an Analytical Isolated Foundation type host element.
-
A non-optional argument was null
-
Thrown when force and moment vectors are equal zero.
-
Thrown if type could not be set for newly created point load.