
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am creating and updating a plugin using Powermill 2017.
I want commands or a macro to read all cutting data from Tools - Settings -Cutting Data from command window.
For example: if cutting data for this tool listing below is:
When I execute process command(s) or a macro the result would be or similar to the below:
(ARRAY)
[0] (STRING) Finishing General 70.0 0.3 0.5 12.0
[1] (STRING) Finishing Slotting 65.0 0.15 3.0 11.0
[2] (STRING) Finishing Profiling 70.0 0.2 2.0 12.0
.......
1. The functionality of the macro is to extract the individual values, storing them in local variables, and then build the array from the data extracted.
2. The functionality of commands is when changing a specific value, for example, changing tool “End Mill / Schaftfräser” the value “Slotting”’s “Axial ” to 5 from cutting data window, the commands should be:
[FORM TOOL "End Mill / Schaftfräser"\r]
[EDIT TOOL FEEDSPEED ROW\r 1 NEW\r]
[EDIT TOOL FEEDSPEED SELECT 0 1\r]
[EDIT TOOL "End Mill / Schaftfräser" QUIT FORM CUTDATAEDITOR\r]
[EDIT TOOL 'End Mill / Schaftfräser' AXIAL DOC "5"\r]
Can anyone provide me with commands or macro?
thanks and regards!
Solved! Go to Solution.