CreateEquationCurve

Creates an equation-based curve.

UI Access Draw > Equation-Based Curve.
Parameters
Name Type Description

<Parameters>

Array

Structured array.

Array("NAME:EquationBasedCurveParameters",

"XtFunction:=", <string>,

"YtFunction:=", <string>,

"ZtFunction:=", <string>,

"tStart:=", <string>,

"tEnd:=", <string>,

"NumOfPointsOnCurve:=", <string>,

"Version:=", <integer>),

<polylineArray(optional)>)

<AttributesArray> Array Structured array. See: AttributesArray.
Return Value None.

Python Syntax

CreateEquationCurve(<Parameters>, <Attributes>)

Python Example

oEditor.CreateEquationCurve(

["NAME:EquationBasedCurveParameters",

"XtFunction:=" , "1",

"YtFunction:=" , "3",

"ZtFunction:=" , "32",

"tStart:=" , "1",

"tEnd:=" , "3",

"NumOfPointsOnCurve:=" , "0",

"Version:=" , 1,

["NAME:PolylineXSection",

"XSectionType:=" , "None",

"XSectionOrient:=" , "Auto",

"XSectionWidth:=" , "0",

"XSectionTopWidth:=" , "0",

"XSectionHeight:=" , "0",

"XSectionNumSegments:=" , "0",

"XSectionBendType:=" , "Corner"

]

],

["NAME:Attributes",

"Name:=" , "EquationCurve1",

"Flags:=" , "",

"Color:=" , "(143 175 143)",

"Transparency:=" , 0,

"PartCoordinateSystem:=", "Global",

"UDMId:=" , "",

"MaterialValue:=" , "\"copper\"",

"SurfaceMaterialValue:=", "\"\"",

"SolveInside:=" , False,

"ShellElement:=" , False,

"ShellElementThickness:=", "0mm",

"IsMaterialEditable:=" , True,

"UseMaterialAppearance:=", False,

"IsLightweight:=" , False

])