A few weeks ago I was able to get the macro defined in this topic (extracting X, Y, Z) coordinates from a sketch point) working with Artem Taturevych's assistance:
however, it has now broken with the error:
Run-time error '91':
Object variable or With block variable not set
Even this example breaks with the same error:
I thought it was due to SolidWorks updates and made what I thought were the needed changes with the help of this link:
but no joy. Have other changes to the SolidWorks library happened with updates? Any assistance is appreciated! I have attached the macro and files I am using in conjunction with it.