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.
Edit parameter values through API - how?
leon_poot
Member, Developers Posts: 87 ✭✭✭
How can I edit parameter values of Features in a Part Studio?
I'd like to be able to change these through the API, as opposed to the user having to change it in the Part Studio for each and every Feature.
I can read them with "Get Feature Specs", but I don't see a way of changing the feature specs...
Have I missed an API function somewhere in the list?
I'd like to be able to change these through the API, as opposed to the user having to change it in the Part Studio for each and every Feature.
I can read them with "Get Feature Specs", but I don't see a way of changing the feature specs...
Have I missed an API function somewhere in the list?
"A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams, Mostly Harmless
Tagged:
0
Best Answer
-
leon_poot Member, Developers Posts: 87 ✭✭✭Sorry that I missed your comments this weekend, @mbattistello and @joe_dunne. Thanks anyways.
We figured it out, naturally "Update Feature" is the key API function.
Deep down in the feature definition ("feature.message") the parameters are there.
"A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams, Mostly Harmless0
Answers
Jdunne@onshape.com
We figured it out, naturally "Update Feature" is the key API function.
Deep down in the feature definition ("feature.message") the parameters are there.