Method SetEnclosingCylinderManagement
SetEnclosingCylinderManagement(DocumentId, EnclosingCylinderManagementType, SmartAxis3D, SmartPoint3D, SmartReal, SmartReal)
Sets the enclosing cylinder management of a part.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 10, 0, 0)]
void SetEnclosingCylinderManagement(DocumentId inDocumentId, EnclosingCylinderManagementType inType, SmartAxis3D inCylinderAxis, SmartPoint3D inCenteringPoint, SmartReal inCylinderDiameter, SmartReal inCylinderLength)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of part document to modify. |
| EnclosingCylinderManagementType | inType | Type of management. |
| SmartAxis3D | inCylinderAxis | Enclosing cylinder axis, or null if not of type Axial or Manual. |
| SmartPoint3D | inCenteringPoint | Centering point defining the enclosing cylinder center once projected on its axis, or null if not of type Manual. |
| SmartReal | inCylinderDiameter | Enclosing cylinder diameter, or null if not of type Manual. |
| SmartReal | inCylinderLength | Enclosing cylinder length, or null if not of type Manual. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.10.