Message 1 of 7
Choose Contours2D by API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, i have a question about CAM API. Can i choose a Contours2D by using API? It is possible?
Based on the documentation i wrote this
for setup in setups:
# Change the program name of each setup to 1234
programNameParam = setup.parameters.itemByName('job_programName')
programNameParam.expression = "1234"
for operation in setup.operations:
# Change tolerance in all operations
toleranceParam = operation.parameters.itemByName('tolerance')
toleranceParam.expression = "0.1mm"
curveSelections = operation.parameters.itemByName('curves')
curveSelections.expression = ?????????????