Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

Anyone else keep forgetting to use query variables?

sasha_sklar061sasha_sklar061 Member Posts: 25 ✭✭

This is definitely going to take some time to build muscle memory. 30 seconds to bind the curves to a variable would have saved me 10 minutes of painful rework!

Comments

  • max_martin184max_martin184 Member Posts: 2

    Hello, @sasha_sklar061

    I know that feeling 😅 It’s one of those habits that only sticks after you’ve burned yourself a few times. Early on I kept telling myself “I’ll just grab it again later,” and then 10 minutes later I’m retracing half the query chain because I didn’t store the result.

    What helped me was forcing a small rule: if I reference the same query result more than once, it must go into a variable immediately. It feels like a tiny slowdown in the moment, but it saves a lot of backtracking later.

    The good news is once that pattern clicks, it becomes second nature. Until then… those 10-minute reworks are unfortunately part of the training process 😄

  • RhettRobinsonRhettRobinson Member Posts: 205 ✭✭✭

    Vote for my improvement request, this would make it more seamless! I feel like a bunch of the time I am already in the middle of a feature when I realize I should make the query variable.

    Create Query Variable Within A Feature — Onshape

  • Derek_Van_Allen_BDDerek_Van_Allen_BD Member Posts: 842 PRO

    I have the opposite problem. I try to avoid rework so hard that I might spend 5 minutes constructing a query variable that I'll never touch again that I could otherwise have gotten the job done with some quick manual selections and been on my way. I consider those cases to be more like CAD calisthenics for when I actually need to build something procedural to save hours though.

  • _anton_anton Member, Onshape Employees Posts: 528 image

    Really, they're not just for avoiding lots of selections; I tend to use them in cases where I need a selection to be parametric. E.g., select a face to fillet but exclude one edge.

  • sasha_sklar061sasha_sklar061 Member Posts: 25 ✭✭

    oh don't worry, I also do that 🤣

    When I'm building stuff with this emerging qv+/ /amalgamate/pattern workflow that you guys are working on I use it maybe too much. But on surface modeling projects where I'm still fumbling around on foundational concepts I keep forgetting.

Sign In or Register to comment.