Hi All,
I hope there is someone that can help me out with this. Hopefully it will help others with the same problem.
I am learning how to create my own Solidworks Features, and I have come across a great example to create a Multi-BossExtrude macro.
Here is the URL: https://www.codestack.net/solidworks-api/document/macro-feature/multi-extrude/
They also provide an example SolidPart to use it on. See link for example SLDPRT (I cannot attach it for some reason)
So I create the Macro structure exactly as they do in the example, and IT WORKS! But ONLY with the sample SolidPart that they provide in the link above.
If I create a solidworks part (sketchs) similar to their example part, I get a "User-defined type not defined" error when I try run the Macro (See Attached).
Now why does it work with their example model, and not with a model that I create my self?
FYI. I say model, however, essencially its just 3 sketchs, each sketch on different planes, just like they do in the example model.
Please can someone help, as this is stopping me from learning this awesome feature :)
Regards
Scott