Method SetToleranceFromDocument
SetToleranceFromDocument(ElementId, DocumentId, string)
Sets the tolerance values of a Tolerance parameter from a tolerance document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 14, 0, 0)]
void SetToleranceFromDocument(ElementId inElementId, DocumentId inToleranceDocumentId, string inClass)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the parameter to modify. |
| DocumentId | inToleranceDocumentId | Identifier of the tolerance document. |
| string | inClass | Class tolerance. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.14.