Harness proD API Help
EPLAN.Harness.API.Projects.Documents Namespace / RevisionableDocument Class / Revise Method
Revise document in background without showing it in UI. Use when revising bigger bunch of documents at once to avoid refreshing UI constantly. You are responsible for calling the UpdateProjectStructure method at the end, otherwise the state of the project structure is undefined.
In This Topic
    Revise Method
    In This Topic
    Create new revision of this document.
    Syntax
    public void Revise( 
       bool silent
    )

    Parameters

    silent
    Revise document in background without showing it in UI. Use when revising bigger bunch of documents at once to avoid refreshing UI constantly. You are responsible for calling the UpdateProjectStructure method at the end, otherwise the state of the project structure is undefined.
    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.

    The operation was not successful.
    You tried to revise a revised document. HpD does not support nested revisions.
    Remarks

    Nested revisions are not allowed. Only documents that are not revisions can be revisioned. That means that IsRevision must be false.

    See Also