I am just starting to learn on macro in SolidWorks.
For now, I'm trying to generate a 50mm x 50mm x 50mm box part files with a different hole sizes in the middle. The images I have attached should show an idea I have.
I want to make hundreds of files with different combinations of depth and size of the hole.
The constraints that I need to include are:
1. the size of the box needs to be generated by a function
2. the size of the hole should be adjusted with function.
3. the hole needs to be in the middle.
4. the depth of the hole should be adjusted with function.
Thank you for your time and helps!