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.
Using partQuery in FeatureScript to retrieve parts
I noticed the "get parts in PartStudio" returns a partQuery that looks like below:
I was wondering if this query can be used in a FeatureScript to find a specific part. I'm looking for a way to link the metadata I'm getting through the API back to parts inside a FeatureScript and from what I understand PartIDs can't be used because they are assigned after featureScripts is done regenerating. But can this partQuery or any other property be used to achieve this?