Hi
Does anyone know the code to call out Drawcompare? I want to write a code that allows me to input the directories of the drawings to be compared and let Drawcompare runs by itself.
Thank you.
SolidworksApi macros
Hi
Does anyone know the code to call out Drawcompare? I want to write a code that allows me to input the directories of the drawings to be compared and let Drawcompare runs by itself.
Thank you.
SolidworksApi macros
You can only compare geometry, feature and properties using the ICompareDocument/ICompareFeature/ICompareGeometry however no interface for drawings?
Are you are going to compare entities, or all entities including tables and annotations? If so you may save your files as BMP (ModelDoc2::SaveBMP) and compare pictures by pixels.
______________________
Regards,
Artem Taturevych
Application Engineer at Intercad
http://intercad.com.au/
Tel: +61 2 9454 4444
Hi
I want to compare all entities.
I thought of comparing pictures by pixels intially, but couldn't get the code that i have written to work. (My getpixel() keeps returning -1). Thus i am thinking of switching to drawcompare to let the program run itself.
Thanks for your advice!