Method SetModelingTolerances
SetModelingTolerances(DocumentId, double, double)
Sets the modeling tolerances of a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 8, 0, 0)]
void SetModelingTolerances(DocumentId inDocumentId, double inLinearTolerance, double inAngularTolerance)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| double | inLinearTolerance | Linear tolerance (in meters, within [0.0001mm,0.1mm]). |
| double | inAngularTolerance | Angular tolerance (in radians, within [0.01°,10°]). |
Remarks
The document modeling tolerances are used as default modeling tolerances for new operations, changing them has no impact on existing operations.
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.8.