4 Replies Latest reply on Apr 7, 2018 5:02 AM by Grzegorz Janisz

    API Macro Solid Works - Problem with pattern

    Grzegorz Janisz

      Hi Everyone,


      How are you? Hopefully you're having really good day.

      My question is about Solid Works API in VBA. I'm not an expert and I know here are a lot of skilled guys that can help me. I'm writing macro with some parameters and until now it works just fine. I came to the point where I need to make a pattern of pattern. It's a pattern of structural members.

      First part I did like this:

      I made pattern, amount of bars is calculated by program and it works fine, and body that I want to pattern is only one - no problem. When I need or doesn't need it in model I use .editsuppress and it works.

      Then I wanted to make Pattern of pattern but I can't put "entire pattern" as body. I can only put every elements of pattern for example LPattern[1], LPattern[2] and I need to do it manually.

      Has anyone had similar problem and know how to solve it to do it automaticly?


      Thanks in advance for any kind of help.