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.
UI vs featurescript query performance
forsaken_candy
Member Posts: 9 EDU
in General
Hi, I've encountered a case where a simple query featurescript is a lot faster (2ms vs 2s) than a UI query feature. I'm querying all Body type entities created by a linear pattern.
I'm happy to use featurescript, but since I'm learning, I'd like to know if this is expected and I'm missing something. Thanks!
0

Comments
What happens if you turn off the “Show selection” option in the Query variable feature?
turn off "show selection". Showing debug entities is very resource intensive.
Custom FeatureScript and Onshape Integrated Applications
Oh wow, that brought it down to 3ms. I had assumed that option only ran while the UI was open.
Edit: This has shaved seconds off my regeneration times, thanks
What happens if you turn off the “Show selection” option in your Query variable feature.
Huh. Well, today I learned…
Ramon Yip | glassboard.com