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.
Query by part name

Hi,
When importing a part studio via custom FS, can I call a specific part, by name, so I can then use it for an operation within that same FS?
Thanks,
0
Comments
You could use attributes for this if you have access to set them on the source studio. https://cad.onshape.com/FsDoc/library.html#module-attributes.fs
Thank you @EvanReese
But how do I set them? Should I create a FS in that source studio just to do that?
Also, what about properties?
🙏
Yes, you'd make a feature to set them. You could use a Query Driven Array Parameter with a string field so you can name each part you pick and use setAttribute(). I believe part properties are regenerated after all of the features in your studio, which is why you can't access them with Custom Features, but can with Custom Tables (I'm not sure on derived parts that already have them, but I suspect you can't get them).
Ok I will try that. Thank you 🙏