Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Options
Building on top of last instance of feature pattern.

in General
If I have a feature pattern that builds (add) a larger object - think of stacked bricks to form a tower, I can add new features to the last instance of that pattern - a hole in the last brick. But if I change the number of instances, that falls apart.
Is there a way to build upon the last generic instance of a pattern?
Tagged:
0
Comments
What kind of features are you trying to apply to the last instance?
You can do this using the
Query finder paired with
Logic driven feature.
https://cad.onshape.com/documents/6c320907d96fc10d8a2791e5/w/3e39e152bfe89f607cffbd6e/e/6f5eb2d6124b0349532e4d3…
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Another option is to use a variable to drive the pattern and the location of the particular feature.
Yet another way, would be to do two separate patterns one for the first and last instance, that way they never change and then another for all the instances in the middle.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
Currently, I'm indeed using a calculation to locate the end of the pattern array. I'm using the measured sidelength of the object after the pattern. I use that lenght to position an offset-plane, upon which I can start creating additional geometry, and then boolean the array and the extra geometry together. But it feels a bit like a hack.
I'll definitely look into the Logic driver and Query finder, since I like programming.
Thanks for the advice!