Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Project Class / GetOpenedDocuments Method / GetOpenedDocuments<T>() Method
Type of opened documents to be listed.
In This Topic
    GetOpenedDocuments<T>() Method
    In This Topic
    Get a list of all opened documents of type T in this project.
    Syntax
    public List<T> GetOpenedDocuments<T>()
    where T: Document

    Type Parameters

    T
    Type of opened documents to be listed.

    Return Value

    Opened documents. Empty list if no document is opened.
    Exceptions
    ExceptionDescription
    The object is in invalid state. Obtain a new one.

    Internal error of HpD or HpD API.

    IMPORTANT: Throwing this exception changes HpD Api's state to Failed.

    See Also