Method SetEnclosingBoxManagement
SetEnclosingBoxManagement(DocumentId, EnclosingBoxManagementType, SmartFrame3D, SmartFrame3D, SmartReal, SmartReal, SmartReal)
Sets the enclosing box management of a part.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 10, 0, 0)]
void SetEnclosingBoxManagement(DocumentId inDocumentId, EnclosingBoxManagementType inType, SmartFrame3D inAlignmentFrame, SmartFrame3D inBoxFrame, SmartReal inBoxXSize, SmartReal inBoxYSize, SmartReal inBoxZSize)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of part document to modify. |
| EnclosingBoxManagementType | inType | Type of management. |
| SmartFrame3D | inAlignmentFrame | Alignment frame, or null if not of type Aligned. |
| SmartFrame3D | inBoxFrame | Enclosing box frame, or null if not of type Manual. |
| SmartReal | inBoxXSize | Enclosing box size in X direction, or null if not of type Manual. |
| SmartReal | inBoxYSize | Enclosing box size in Y direction, or null if not of type Manual. |
| SmartReal | inBoxZSize | Enclosing box size in Z direction, 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.