Well with the current code which is based on a few other people on this forum I would like to be able to highlight the inspection dimensions in the Excel table output.
when i use this code block to test
I get this output
the Inspection is always false even though I have dimensions that have the been marked as inspection type
the API help says this
so i'm puzzeled as to why this is not working I use SW2014 for testing and will move this macro to SW2015 and SW2016 soon. I want to do this because the Solidworks inspection software is to expensive for our little company!
reference to this thread
here is my code for the macro below in a attachment
SolidworksApi macros
Have checked this code on Solidworks 2015 and soliworks 2016 and it seem to work fine. so there must be a bug in SW2014.
Hi Craig, Worked with this macro. it works fine thank you. Could you alter this macro according to my specifications.
I want the output in excel file as FLAG ID, DIMENSION TYPE (such as LINEAR, CHAMFER.....), DIMENSION VALUE.
In the DIMENSION VALUE column, I want the dimension along with the tolerance value such as for ex: 12.8± 0.2.
Also if I'm overriding the dimension value, when I run this macro it takes only old dimension, but I want the overriden values for the dimension which I have changed.
Thanks in advance.