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.
FeatureScript to update part appearance and name?
mbattistello
Member, Developers Posts: 51 ✭✭
Is it possible to update a parts appearance/color and name using FeatureScript? I looked thru the docs and dont see a way. I also updated a part and checked the code and dont see where its showing up so Im guessing these types of changes are not considered features.
I am able to add in an attribute to the body but that doesnt seem to have any impact on the display. Maybe there is some attributes to specific to these values?
I am able to add in an attribute to the body but that doesnt seem to have any impact on the display. Maybe there is some attributes to specific to these values?
0
Comments
If I can "tag" the body in FS then in the API I can make the appear and name using the API and a webhook.
Im trying this but it doesnt work.
I have a FS that sets the attributes and then I pull them and dump via println so they are getting set. Using API Explorer to try and get the FS correct but doesnt seem to work. I can get some of the sample code working.