Search Results for

    Show / Hide Table of Contents

    Method ExecuteMethodWithPredefinedSelection

    ExecuteMethodWithPredefinedSelection(DocumentId, DocumentId, MethodExecutionOptions, List<ElementItemId>)

    Execute the method document in the target document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 15, 300, 40)]
    List<ElementId> ExecuteMethodWithPredefinedSelection(DocumentId inTargetDocument, DocumentId inMethodDocument, MethodExecutionOptions inExecutionOptions, List<ElementItemId> inSelections)
    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.

    List<ElementItemId> inSelections

    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.