Request

Response

    ElementDataModel.GetDesignByUniqueId method

    Returns a design by its system-generated unique persistent Id (see UniqueId).

    public IDesign GetDesignByUniqueId(string uniqueId)
    
    parameterdescription
    uniqueId The unique persistent Id of the design.

    Return Value

    The design with the specified unique Id, or null when not found or the underlying asset is deleted.

    Exceptions

    exceptioncondition
    ArgumentNullException Thrown when uniqueId is null.
    ArgumentException Thrown when uniqueId is empty.

    See Also