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.

Queries in Custom Tables

Ethan_KellerEthan_Keller Member, csevp Posts: 4
Just wondering why queries aren't supported in the precondition of a custom table? Also this post serves as an improvement request to support them in the future :smile:

Comments

  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,671
    And you're asking this now?  :D
    Senior Director, Technical Services, EMEAI
  • _anton_anton Member, Onshape Employees Posts: 410
    My vague recollection from the initial discussions: the mechanics are somewhat self-explanatory in a Part Studio, but what happens when we put in drawings support? We left that as an open question and didn't include queries in MVP.

    You can still query things with, e.g., qAllModifiableSolidBodies().
  • chadstoltzfuschadstoltzfus Member, Developers, csevp Posts: 139 PRO
    One workaround I've found is you can use a custom feature that sets a variable that is used by the custom table. See my example over in this post
    Applications Developer at Premier Custom Built
    chadstoltzfus@premiercb.com
  • Ethan_KellerEthan_Keller Member, csevp Posts: 4
    Thanks crew - yeah makes sense WRT drawings. I currently just set an attribute on the entity I'm interested in - so it works but is just a little clunky.
Sign In or Register to comment.