1 Reply Latest reply on Jul 5, 2016 6:54 PM by Artem Taturevych

    Refresh Pattern-Feature

    A. D.

      Dear all,

      I've got a large userform which (also) populates a setting for a pattern feature. When populated, it rebuilds (also force rebuilds) but unfortunately the model won't rebuild correctly. It seems like a but in Solidworks to me.

      The problem is, that when the sketch of the curve-driven pattern changes (when the line becomes longer) the patterned parts won't "jump to their new places".

      I found out that the following is enough to "let them jump into the correct place again".:

       

      - Right-click the pattern in the feature-manager-tree.

      - Click Edit Feature.

      - Without changing anything, just click the green tick.

      And there you go, the parts are "jumping into the right place".

       

      Now, because the whole model is operated through the userform, it is not possible to this manually. So, i would like to write a bit of code to 'perform' the 3 steps above.

       

      Do you know any way to do this?

       

      Thanks in advance,

      Best regards,

      Arno