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.
Get part studio name within featurescript
Can you get part studio name within featurscript?
Why?
I'm using a CAM that allows importing of solids with metadata via a CSV file. In said file the first column must have the File path of the .x_t solids that it will import.
Since conveniently onshape can export parasolid files with the part studio name - part name (a feature I don't want to adjust) I must include the part studio name in the file name portion of the file path.
I'm currently doing this manually with a string parameter but would prefer it to be automatic.
Comments
FeatureScript only allows you to get properties from bodies (parts), Part Studio level information isn't available.
The only automatic way to do it would be with the API and to use webhooks to set a variable, or part level property.
Custom FeatureScript and Onshape Integrated Applications
I wish my boss understood the power of this software and invested in me to develop for it :(