M

LineLoad.Create

Description:
Creates a new hosted line load within the project.
Overloads (3):
Create(Document,ElementId,Int32,XYZ,XYZ,LineLoadType)
public static LineLoad Create(
	Document aDoc,
	ElementId hostElemId,
	int curveIndex,
	XYZ forceVector1,
	XYZ momentVector1,
	LineLoadType symbol
)
  • aDoc
    Document to which new line load will be added.
  • hostElemId
    The analytical host element for the line Load.
  • Int32
    curveIndex
    The index of a curve in analytical surface element starting from 0. Use GetOuterContour method to obtain appropriate curve index. Curve index has a unique value in analytical element. The index should be obtain by iteration through all curves in all loops.
  • forceVector1
    The applied 3d force vector.
  • momentVector1
    The applied 3d moment vector.
  • symbol
    The 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.