LineLoad.Create
Description:
Creates a new hosted line load within the project.
Creates a new hosted line load within the project.
Overloads (3):
Create(Document,AnalyticalModelStick,XYZ,XYZ,LineLoadType)
public static LineLoad Create(
Document aDoc,
AnalyticalModelStick host,
XYZ forceVector1,
XYZ momentVector1,
LineLoadType symbol
)
-
aDocDocument to which new line load will be added.
-
hostThe analytical model stick host element for the line Load.
-
forceVector1The applied 3d force vector.
-
momentVector1The applied 3d moment vector.
-
symbolThe symbol of the LineLoad. Set nulla null reference (Nothing in Visual Basic) to use default type.
Return Value
nullNothingnullptr
If successful, returns the newly created LineLoad, null Nothing nullptr a null reference ( Nothing in Visual Basic) otherwise.
-
The element host was not found in the given document.
-
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.