I am new to solidworks customization using vba, and i got stuck in a problem. How we can write a macro to get all the holes (either created by hole wizard or by revolving the sketch) present in an assembly or part! We need to display like a message. I tried collecting features, and using the GetFirstDisplayDimension() method to proceed further. I am successfully getting feature count and feature type by name till now. Can someone please help me with the code, i need it urgent.
SolidworksApi macros