Search Results for

    Show / Hide Table of Contents

    Method SetCurrentSimulation

    SetCurrentSimulation(DocumentId, ElementId)

    Sets the current simulation entity of a document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 6, 0, 0)]
    void SetCurrentSimulation(DocumentId inDocumentId, ElementId inSimulationId)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to modify.

    ElementId inSimulationId

    Identifier of the new current simulation entity.

    Remarks

    StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.

    This method is available since v7.6.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.