Search Results for

    Show / Hide Table of Contents

    Method CreateSet

    CreateSet(DocumentId, List<ElementId>)

    Creates a set definition entity in a document.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 14, 300, 120)]
    ElementId CreateSet(DocumentId inDocumentId, List<ElementId> inTargetIds)
    Parameters
    Type Name Description
    DocumentId inDocumentId

    Identifier of the document to modify.

    List<ElementId> inTargetIds

    Identifiers of targets of the set definition entity.

    Returns
    Type Description
    ElementId

    Identifier of the created set definition entity.

    Remarks

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

    This method is available since v7.14.300.120.

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

    Copyright ©2025 TopSolid - All rights reserved.