Search Results for

    Show / Hide Table of Contents

    Method SetCurrentScaleFactor

    SetCurrentScaleFactor(DocumentId, double)

    Sets the current scale factor for an analysis result document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 19, 15, 0)]
    void SetCurrentScaleFactor(DocumentId inDocumentId, double inValue)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to analyze.

    double inValue

    The value to use as scale factor.

    Remarks

    This method is available since v7.19.

    Examples
       DocumentId docId = TopSolidHost.Documents.EditedDocument;
    if (TopSolidHost.Application.StartModification("set current scale factor", false))
    {
    	try
    	{
    		TopSolidCaeHost.Results.SetCurrentScaleFactor(docId, 9);
    		TopSolidHost.Application.EndModification(true, true);
    	}
    	catch
    	{
    		TopSolidHost.Application.EndModification(false, false);
    	}
    }
    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.