Method GetCurrentScaleFactor
GetCurrentScaleFactor(DocumentId)
Gets the current scale factor from an analysis result document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 19, 15, 0)]
double GetCurrentScaleFactor(DocumentId inDocumentId)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to analyze. |
Returns
| Type | Description |
|---|---|
| double | The value of the scale factor. |
Remarks
This method is available since v7.19.
Examples
DocumentId docId = TopSolidHost.Documents.EditedDocument;
double valueOfScaleFactor = TopSolidCaeHost.Results.GetCurrentScaleFactor(docId);