Skritp for fast and flexible renaming of many CAM operations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I have written a small script to rename several CAM operations at the same time.
You may know this, you have assembled a part in CAM and have edited several parts using the Copy operation.
Now you want to rename the operations, so that they are output in the NC program sensibly named.
This costs quite a lot of time with complex parts!
I have now solved this with my script ...
How use the script:
First select the CAM operations to be renamed!
Here it is to be considered that the order of the selection, the operations is considered!
Now start the script
Now an input window opens:
Here you can now enter how the operations are to be renamed.
- Variant 1:
Input: "Seite" and then confirm with a click on "OK".
Result:
All operations are named with the basic designation "Seite" and then assigned a sequence number in the order in which they were SELECTED
- Variant 2:
Input „Seite~(B+90-C0,B+60-C15,B-90-C0,B45-C45)“
Result:
The operations are renamed with the basic name "Seite" and get the list elements contained in the list inside "~(List)" appended!
"~(" is the trigger for the lists variant ")" closes the list.
Here it is to be noted that the number of list elements must correspond to the number of selected CAM operations!
- Variant 3:
Input "Seite_B~10,5.5"
Result:
The cam operations are renamed with the basic name "Seite_B", then in the order of selection, first the start agrument 10 is appended, then with each following operation 5.5 is added and appended.
"~" is the trigger for this variant, the first argument is the start number, the second argument is the number to be added.
The only drawback it is in German
I would be happy if one or the other can use it!