Description
Automatically creates NURBS curves representing the features of specified shell, and returns RFErrorCode indicating whether an error occurs.
Syntax
Function RFCurveTools.CreateFeatureNurbsCurves(shellID As RFEntityID, bExtendAndTrim As Boolean, bCreateSharpEdge As Boolean, bUseShellCurvature As Boolean, bQuickMode As Boolean, radiusCount As Long, pRadii As Double, maxCurveCount As Long, pNewCurveCount As Long, pNewCurveIDs As RFEntityID) As RFErrorCode
The CreateFeatureNurbsCurves syntax has these parts:
| Part | Description |
|---|---|
| shellID | [IN] RFEntityID Required. Shell's RFEntityID of which the created NURBS curves are representing the feature. |
| bExtendAndTrim | [IN] Boolean Required. Whether the created NURBS curves are extended and trimed or not. |
| bCreateSharpEdge | [IN] Boolean Required. Whether it creates NURBS curves which representing sharp edge. |
| bUseShellCurvature | [IN] Boolean Required. Whether it uses the curvature information of shell. |
| bQuickMode | [IN] Boolean Required. Quick mode option. |
| radiusCount | [IN] Long Required. The number of radius values. |
| pRadii | [IN] Double Required. Radius values which will be used for finding features of shell. |
| maxCurveCount | [IN] Long Required. The size of pNewCurveIDs array. (Maximum number of created NURBS curves expected.) |
| pNewCurveCount | [OUT] Long Required. The number of NURBS curves created. |
| pNewCurveIDs | [OUT] RFEntityID Required. Created NURBS curves' RFEntityID. |
Remarks