Eplan Platform API
Eplan.EplApi.HEServices Namespace / Revision Class / CreateRevision Method
Project to create a revision from.
New revision's name.
New revision's description.
Pointer to a string in which the path to the revision project is returned as long as the source project was a completed revision and a new revision has been created. Otherwise the string is set to an empty value. The pointer itself may be NULL.

In This Topic
    CreateRevision Method
    In This Topic
    Creates a new logging revision of the source project. If the source project is a completed revision already, it is copied and the path to the revision project is returned (through pPathOfCopiedRevision parameter).
    Syntax

    Parameters

    sourceProject
    Project to create a revision from.
    strRevisionName
    New revision's name.
    strRevisionComment
    New revision's description.
    pPathOfCopiedRevision
    Pointer to a string in which the path to the revision project is returned as long as the source project was a completed revision and a new revision has been created. Otherwise the string is set to an empty value. The pointer itself may be NULL.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid parameters.
    \Internal interface necessary for the revision management could not be created.
    An error occurred, when creating a revision.
    Remarks
    This creates a new logging revision. At this point of time all changes of this document are logged and all objects changed are marked with a marker. In GED this is a border around the object. When an project section is active, only the pages/installationspaces of this section are logged.
    See Also