Search Results for

    Show / Hide Table of Contents

    Method RedirectInclusionWithCodeAndDrivers2

    RedirectInclusionWithCodeAndDrivers2(ElementId, DocumentId, string, List<string>, List<SmartObject>, List<string>, List<SmartDesignObject>)

    Redirects an inclusion operation to a family with specified code and drivers.

    Declaration
    [OperationContract]
    [AvailableSinceVersion(7, 17, 300, 80)]
    void RedirectInclusionWithCodeAndDrivers2(ElementId inElementId, DocumentId inDefinitionId, string inCode, List<string> inKernelDriverNames, List<SmartObject> inKernelDriverValues, List<string> inDesignDriversValues, List<SmartDesignObject> inDesignDriverValues)
    Parameters
    Type Name Description
    ElementId inElementId

    Identifier of the inclusion operation to modify.

    DocumentId inDefinitionId

    Identifier of the new family definition document to include.

    string inCode

    Instance code, or null if none.

    List<string> inKernelDriverNames

    Instance kernel driver names, or null if none.

    List<SmartObject> inKernelDriverValues

    Instance kernel driver values, or null if none.

    List<string> inDesignDriversValues

    Instance design driver names, or null if none.

    List<SmartDesignObject> inDesignDriverValues

    Instance design driver values, or null if none.

    Remarks

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

    This method is available since v7.17.

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

    Copyright ©2025 TopSolid - All rights reserved.