Method SetTolerance
SetTolerance(ElementId, UnitType, Real, Real)
Sets the tolerance values of a Tolerance parameter.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 14, 0, 0)]
void SetTolerance(ElementId inElementId, UnitType inUnitType, Real inUpperDeviation, Real inLowerDeviation)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the parameter to modify. |
| UnitType | inUnitType | Unit type. |
| Real | inUpperDeviation | Upper value. |
| Real | inLowerDeviation | Lower value. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.14.