Method SetModelingTolerances
SetModelingTolerances(ElementId, double, double)
Sets the modeling tolerances of an operation.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 8, 0, 0)]
void SetModelingTolerances(ElementId inElementId, double inLinearTolerance, double inAngularTolerance)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the operation to modify. |
| double | inLinearTolerance | Linear tolerance (in meters, within [0.0001mm,0.1mm]), or 0 for unchanged. |
| double | inAngularTolerance | Angular tolerance (in radians, within [0.01°,10°]), or 0 for unchanged. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.8.