Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / Project Class / GetAttachedDocuments Method
In This Topic
    GetAttachedDocuments Method (Project)
    In This Topic
    Get list of all attached documents in this project.
    Syntax
    public List<AttachedDocument> GetAttachedDocuments()

    Return Value

    All attached documents in this project.
    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.

    Remarks
    This does not include attached documents attached to variants. Only documents attached directly to the project. If you want documents attached to a variant, use Variant.GetAttachedDocuments.
    See Also