Description
Extends a specified NURBS curve, and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFCurveTools.ExtendNurbsCurve(curveID As RFEntityID, type As RFContinuityType, bRatio As Boolean, bOnPolygon As Boolean, posValue As Double, negValue As Double, pNewCurveID As RFEntityID) As RFErrorCode
The ExtendNurbsCurve syntax has these parts:
| Part | Description |
|---|---|
| curveID | [IN] RFEntityID Required. NURBS curve's RFEntityID to extend. |
| type | [IN] RFContinuityType Required. Type of continutity to maintain during the extension. RF_CONTINUITY_G1 or RF_CONTINUITY_G2 are allowed. |
| bRatio | [IN] Boolean Required. It determines whether the extension amount is defined by relative length ratio or absolute length. |
| bOnPolygon | [IN] Boolean Required. It determines whether the extended part of the NURBS curve should be fitted on the connected shell or not. |
| posValue | [IN] Double Required. Extension amount along NURBS curve's forward direction. |
| negValue | [IN] Double Required. Extension amount along NURBS curve's backward direction. |
| pNewCurveID | [IN] RFEntityID Required. Extended NURBS curve's RFEntityID. |