Search Results for

    Show / Hide Table of Contents

    Method ExecuteMethod

    ExecuteMethod(DocumentId, DocumentId, MethodExecutionOptions)

    Execute the method document in the target document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 15, 300, 40)]
    List<ElementId> ExecuteMethod(DocumentId inTargetDocument, DocumentId inMethodDocument, MethodExecutionOptions inExecutionOptions)
    Parameters
    Type Name Description
    DocumentId inTargetDocument

    The target document to modify.

    DocumentId inMethodDocument

    The method document to execute.

    MethodExecutionOptions inExecutionOptions

    Execution options for the method.

    Returns
    Type Description
    List<ElementId>

    All created tasks operations.

    Remarks

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

    This method is available since v7.15.

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

    Copyright ©2025 TopSolid - All rights reserved.