ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
BMBinish Mohan11/08/2020

Hi everyone,  my aim is basically to creating a workpiece from any final product using visual basic language in solidworks macro. I realised the macro code generated only works for flat surfaces or straight edges like the one in the screenshot below. As for the models that has curved surfaces, there seem to be an issue when the code is run. I am unsure how to include the bounding box for surfaces that are curved or cylindrical like in the screenshot below. I have attached the macro code as well the flat model and semi-circular model. Appreciate all the help I can get