AnsweredAssumed Answered

API Macro Solid Works - Problem with pattern

Question asked by Grzegorz Janisz on Feb 10, 2018
Latest reply on Apr 7, 2018 by 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.