Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / RevisionableDocument Class / IsRevision Property
In This Topic
    IsRevision Property
    In This Topic
    Is this document part of a revision?
    Syntax
    public bool IsRevision {get;}
    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

    Only documents that are not a revision can be revisioned and only revisioned documents can be promoted.

    Note the difference: IsRevision tells you that this document is a revision of another document, so it can be promoted (using Promote method). HasRevision on the other hand means that this document is revisioned - has revisions that can be accessed with the Revisions property.

    See Also