Request

Response

    ElementDataModel.GetDesignInstances method

    Returns all the elements that have instantiated this design.

    public IEnumerable<IElement> GetDesignInstances(IDesign design)
    
    parameterdescription
    design A reference to the IDesign whose instances need to be retrieved.

    Return Value

    The collection of elements that have instantiated the design.

    Exceptions

    exceptioncondition
    ArgumentNullException Thrown when design is null, or when design refers to a deleted or missing design.
    ArgumentException Thrown when design is not an SDK design instance.

    See Also