API Help
Eplan.EplApi.HEServices Namespace / Revision Class / AddRevisionMarkersForDeletedInRevisionProject Method / AddRevisionMarkersForDeletedInRevisionProject(Project,Project,String) Method
The Comparison project to which the markers for deleted objects will be added.
The project containing the comparison results.
Text for the marker.
Example

In This Topic
    AddRevisionMarkersForDeletedInRevisionProject(Project,Project,String) Method
    In This Topic
    Adds the revision markers of all deleted objects in the Comparison project. Note: The Comparison project has to be writable.
    Syntax
    public void AddRevisionMarkersForDeletedInRevisionProject( 
       Project oComparisonProject,
       Project oProject,
       string strRevisionMarker
    )
    public:
    void AddRevisionMarkersForDeletedInRevisionProject( 
       Project^ oComparisonProject,
       Project^ oProject,
       String^ strRevisionMarker
    ) 

    Parameters

    oComparisonProject
    The Comparison project to which the markers for deleted objects will be added.
    oProject
    The project containing the comparison results.
    strRevisionMarker
    Text for the marker.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid parameters.
    \Internal interface necessary for the revision management could not be created.
    An error occurred when adding revision markers.
    Example
    Revision revisionObj = new Revision();
    revisionObj.CompareProjects(oProject, oComparisonProject, "Revision1.mdb", true, "Test");
    
    //now the Revision1.mdb contains all changes. The added and changed objects are marked in oProject.
    
    revisionObj.AddRevisionMarkersForDeletedInRevisionProject(oComparisonProject, "Test", "Revision1.mdb");
    
    // now all deleted objects are marked in the oComparisonProject with "Test"
    See Also