Description
Transforms a specified shell by specified parameters and returns an RFErrorCode value indicating whether an error occurs.
Syntax
Function RFMeshTools.TransformShell(shellID As RFEntityID, pTrans As RFVector3, pRot As RFVector3, pScale As RFVector3, bUseLocalCoord As Boolean) As RFErrorCode
The TransformShell syntax has these parts:
| Part | Description |
|---|---|
| shellID | [IN] RFEntityID Required. Shell's RFEntityID to transform. |
| pTrans | [IN] RFVector3 Required. Translation values along X, Y and Z axis. |
| pRot | [IN] RFVector3 Required. Rotation values around X, Y and Z axis. |
| pScale | [IN] RFVector3 Required. Scale factors along X, Y and Z axis. |
| bUseLocalCoord | [IN] Boolean Required. It determines whethter transformation is performed w.r.t the shell's own local coordinate system. |
Remarks