Showing results for 
Search instead for 
Did you mean: 

RevisionManager FindDuplicateDocuments

Valued Contributor
Valued Contributor


Could some one please advice me about RevisionManager FindDuplicateDocuments method?


Under "C:\SolidEdgeDev\Radiator\" I have 2 copies of the same Radiator project & when preforming the same action manually I don't get the expected product..

I'm guessing it's my luck of experience with C#, yet I've found no document example for this.


When I run the code below I get the following exception(searching duplication for only par files):

"Invalid access to memory location. (Exception from HRESULT: 0x800703E6)"


                string parentBaseSearchFolder = @"C:\SolidEdgeDev\Radiator\\"; //the last '\' is for presenting the code clearer.. 
                string baseSearchFolder = @"C:\SolidEdgeDev\Radiator\Radiator\\";
                RevisionManager.Application RevApp = new RevisionManager.Application(); 
                object myTrue = true;
                object myFalse = false;
                object myLogFile = new object();
                object mySumFile = new object();
                object[] listOfFolders = { parentBaseSearchFolder, baseSearchFolder };
                RevApp.FindDuplicateDocuments(listOfFolders, myTrue, myFalse, myFalse, myTrue, myFalse, myFalse, out myLogFile, out mySumFile);


Posted by: joseph polk
Post date: 5/8/2012 12:25:05 PM