Description
Engraves the specified text with surface data, and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFMeshTools.EngraveText(surfaceID As RFEntityID, text As String, pFont As RFFont, dRotAngle As Double, bFlip As Boolean, dUScale As Double, dVScale As Double, dHeight As Double, engraveType As RFEngraveType, bMakeOutLineCurve As Boolean, bMakeTrimmedSurface As Boolean, pOutShellID As RFEntityID, maxOutCurveCount As Long, pOutCurveCount As Long, pOutCurveIDs As RFEntityID, maxOutSurfaceCount As Long, pOutSurfaceCount As Long, pOutSurfaceIDs As RFEntityID) As RFErrorCode
The EngraveText syntax has these parts:
| Part | Description |
|---|---|
| surfaceID | [IN] RFEntityID Required. Surface's RFEntityID to be used for engraving. |
| text | [IN] String Required. Text string to be engraved. |
| pFont | [IN] RFFont Required. Font for the text. |
| dRotAngle | [IN] Double Required. Rotation Angle of text against the u-v coordinate of surface. |
| bFlip | [IN] Boolean Required. It determines whether it flips the text or not. |
| dUScale | [IN] Double Required. U-directional scale. |
| dVScale | [IN] Double Required. V-directional scale. |
| dHeight | [IN] Double Required. Height of engraved text. |
| engraveType | [IN] RFEngraveType Required. Type for engraving. |
| bMakeOutLineCurve | [IN] Boolean Required. It determines whether it makes out-line curve or not. |
| bMakeTrimmedSurface | [IN] Boolean Required. It determines whether it makes trimmed surface or not. |
| pOutShellID | [OUT] RFEntityID Required. Shell's RFEntityID which is engraved. |
| maxOutCurveCount | [IN] Long Required. Maximum number of NURBS curve which represent the out line of text. |
| pOutCurveCount | [OUT] Long Required. The number of NURBS curve which represent the out line of text. |
| pOutCurveIDs | [OUT] RFEntityID Required. EntityIDs of NURBS curves which represent the out line of text. |
| maxOutSurfaceCount | [IN] Long Required. Maximum number of NURBS surface which represent the text. |
| pOutSurfaceCount | [OUT] Long Required. The number of NURBS surface which represent the text. |
| pOutSurfaceIDs | [OUT] RFEntityID Required. EntityIDs of NURBS surfaces which represent the text. |
Remarks