Method CreateToleranceParameter
CreateToleranceParameter(DocumentId, UnitType, string, Real, Real)
Creates a tolerance parameter entity in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 14, 0, 0)]
ElementId CreateToleranceParameter(DocumentId inDocumentId, UnitType inUnitType, string inName, Real inUpperDeviation, Real inLowerDeviation)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| UnitType | inUnitType | Unit type. |
| string | inName | Name of the tolerance parameter. |
| Real | inUpperDeviation | Upper value. |
| Real | inLowerDeviation | Lower value. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created parameter entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.14.