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.
Reverse Featurescript Programming
adam_pullen627
Posts: 2 EDU
Is it possible to copy the featurescript code from a model created in a part studio? I would love to design a basic model in a part studio because of the familiarity. However, I need to create one featurescript code that will allow me to edit specific variables. This would also allow me to use one variable to correlate multiple dimensions.
0
Comments
-
It is possible to view the code that creates the part studio.
If you right click on the part studio tab in the document, there should be a "Show code" option.
But, based on the description of your goal, a configured part studio sounds like it might be what you are aiming for.1 -
You don't need to use the studio code directly. You can make a feature that just instantiates a part studio. So you could build your model manually with configurations (as Caden said), and write a custom feature that will derive it into any part studio based on your variables. I think it would behave the way you want.0

