Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to rename and reset values of model parameters.
Everything I find in the forums and help files say this should work, but no luck.
Here is the code I am using:
product = app.activeProduct
param = product.rootComponent.modelParameters.itemByName('d1') << This line seems ok, no error
param.value = BodyLength << This line throws the error below
param.name = 'Screw_Length' << I reversed these two and this one also throws the error
Brad Bylls
Solved! Go to Solution.