LineLoad.Create
Description:
Creates a new non-hosted line load within the project using data at point.
Creates a new non-hosted line load within the project using data at point.
Overloads (3):
Create(Document,XYZ,XYZ,XYZ,XYZ,LineLoadType,SketchPlane)
public static LineLoad Create(
Document aDoc,
XYZ startPoint,
XYZ endPoint,
XYZ forceVector,
XYZ momentVector,
LineLoadType symbol,
SketchPlane plane
)
-
aDocDocument to which new line load will be added.
-
startPointThe start point of line load, measured in decimal feet.
-
endPointThe end point of line load, measured in decimal feet.
-
forceVectorThe applied 3d force vector.
-
momentVectorThe applied 3d moment vector.
-
symbolThe symbol of the LineLoad. Set nulla null reference (Nothing in Visual Basic) to use default type.
-
planeThe work plane of the LineLoad. Set nulla null reference (Nothing in Visual Basic) to use default plane.
Return Value
nullNothingnullptr
If successful, returns the newly created LineLoad, null Nothing nullptr a null reference ( Nothing in Visual Basic) otherwise.
-
Thrown when work plane is not valid.
-
A non-optional argument was null
-
Thrown when all force and moment vectors are equal zero.
-
Thrown if type could not be set for newly created line load.