Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to automate a process to append several CAM operations with Python API,
but got the error "This parameter cannot be changed" when setting an expression to parameters with selection input type (e.g. Model Surface on Geometry section).
Is there any way to set a mesh selection value for this kind of CAM parameter?
FYI here's the code that the error was thrown.
param = operation.parameter.itemByName('model')
param.expression = 'true' # Trying to set a mesh selection but don't know how to specify it with string.
Solved! Go to Solution.