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 document,
	ElementId hostElemId,
	int curveIndex,
	XYZ forceVector1,
	XYZ momentVector1,
	LineLoadType symbol
)
  • document
    Document to which new line load will be added.
  • hostElemId
    The analytical host element for the line Load.
  • 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 null to use default type.
Return Value LineLoad If successful, returns the newly created LineLoad, otherwise.