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.
How to retrieve all the feature ids used to generate a part in a part studio
mohammad_sadil_khan
Member Posts: 8 EDU
Hello,
Is there any way to know what features and sketches (by ids or names) are used to generate a part, given the part Id using featurescript? For example, in the image, When I click on part 1, Extrude 1 is automatically highlighted, which means it's saved somewhere.
Thank You.

Tagged:
0
Comments
-
lastModifyingOperationId is ostensibly the way to do this, although I'm struggling to imagine a good FeatureScript use case for the functionality you're describing.
Software Developer at Epic Systems
FRC Design Mentor - Team 1306 BadgerBots0 -
Thanks for your reply. I used lastModifyingOperationId and it gives only the final featureId. Can we backtrack using the final id and retreive all the the previous ones.The use case is that, in assembly, when we can load parts (e.g Part 1) from another part studio, I wanted to see the design history of Part 1 only.
0 -
You might be able to hack something together with some combination of lastModifyingOperationId, qCreatedBy, qDependency, and qOwnedBy in a loop.
Software Developer at Epic Systems
FRC Design Mentor - Team 1306 BadgerBots0
