2027 Method
Changes 0
M

DisplacementPath.Create

Description:
Creates a new DisplacementPath referencing a DisplacementElement and edge or curve and adds it to the document.
public static ElementId Create(
	Document aDoc,
	DisplacementElement displacementElement,
	Reference reference,
	double param
)
  • aDoc
    The document.
  • displacementElement
    Element id of a DisplacementElement
  • reference
    A reference that refers to an edge or curve of one of the elements displaced by the displacementElement.
  • Double
    param
    A value in the range [0,1]. It will be interpreted as a parameter for the specified edge.
Return Value ElementId The element id of the newly created DisplacementPath.
  • The value param should lie in the range [0,1]. -or- reference does not represent an edge or curve belonging to an element displaced by displacementElement.
  • A non-optional argument was null