Solid Edge FrameworkSupport Type Library
GetData Method
Returns the number of nodes on the curve. NumberOfNodes returns zero for derived curves.
Returns the nodes on the curve.
Returns the number of poles on the curve.
Returns the poles (control points) on the curve.
Returns the knots (parameters that represent the internal joints between curve segments) of the curve. The number of knots is equal to NumberOfPoles + Degree + 1.
Specifies whether the curve is rational. If it is, then the curve has Weights associated with its Poles.
Returns the weights for the curve. Weights is only returned for rational curves. The number of weights is equal to NumberOfPoles.
Returns the degree of the curve.
Returns a member of the Geom2dFormConstants constant set that specifies the form of the curve.
Returns a member of the Geom2dScopeConstants constant set that specifies the scope of the curve.
Description
This method returns all basic data for the referenced BSplineCurve2d object.
Syntax
Visual Basic
Public Sub GetData( _
   Optional ByRef NumberOfNodes As Variant, _
   Optional ByRef Nodes As Variant, _
   Optional ByRef NumberOfPoles As Variant, _
   Optional ByRef Poles As Variant, _
   Optional ByRef Knots As Variant, _
   Optional ByRef Rational As Variant, _
   Optional ByRef Weights As Variant, _
   Optional ByRef Degree As Variant, _
   Optional ByRef Form As Variant, _
   Optional ByRef Scope As Variant _
) 
Parameters
NumberOfNodes
Returns the number of nodes on the curve. NumberOfNodes returns zero for derived curves.
Nodes
Returns the nodes on the curve.
NumberOfPoles
Returns the number of poles on the curve.
Poles
Returns the poles (control points) on the curve.
Knots
Returns the knots (parameters that represent the internal joints between curve segments) of the curve. The number of knots is equal to NumberOfPoles + Degree + 1.
Rational
Specifies whether the curve is rational. If it is, then the curve has Weights associated with its Poles.
Weights
Returns the weights for the curve. Weights is only returned for rational curves. The number of weights is equal to NumberOfPoles.
Degree
Returns the degree of the curve.
Form
Returns a member of the Geom2dFormConstants constant set that specifies the form of the curve.
Scope
Returns a member of the Geom2dScopeConstants constant set that specifies the scope of the curve.
Remarks
You must request NumberOfNodes if you request Nodes, because the number of valid elements in the Nodes array is determined by the value returned by NumberOfNodes. Poles and NumberOfPoles must be requested together. Knots must be requested with NumberOfPoles and Degree. Weights must be requested with NumberOfPoles.
See Also

BSplineCurve2d Object  | BSplineCurve2d Members