LineLoad.Create(Document, XYZ, XYZ, XYZ, XYZ, LineLoadType, SketchPlane)
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 null to use default type.
-
planeThe work plane of the LineLoad. Set null to use default plane.
Return Value
nullNothingnullptr
If successful, returns the newly created LineLoad, null 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.
No comments yet. Start the discussion.
Loading…