1 Reply Latest reply on Jul 17, 2017 11:59 AM by Jason Swackhamer

    How to get Addin to add multiple (different) macrofeatures?

    Jason Swackhamer

      Following the C# example "SwCSharpAddinMF", I can successfully add a macrofeature to part (works great), but cannot figure out how to add more than one. My plan is to have my addin add a sketch, then a macrofeature, then a cut extrude, and then a different macrofeature. Since they're different, they will require different regenerate and edit routines. However, we can't use different names for the regenerate and edit routines since the names are hard coded for Solidworks to reference.

       

      Am I missing something? I tried setting up the macro feature and its routines in a separate class, but couldn't get it to generate (no crash, but "InsertMacroFeature3" returns null).

       

      Is this even possible?

       

      Thanks in advance,

       

      -Jason S.