Method CreateToleranceParameterFromDocument
CreateToleranceParameterFromDocument(DocumentId, DocumentId, string, string)
Creates a tolerance parameter entity corresponding to a class in a tolerance document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 14, 0, 0)]
ElementId CreateToleranceParameterFromDocument(DocumentId inDocumentId, DocumentId inToleranceDocumentId, string inName, string inClass)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| DocumentId | inToleranceDocumentId | Identifier of the tolerance document. |
| string | inName | Name of the tolerance parameter. |
| string | inClass | Class tolerance. |
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.