
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm working on some CAM scripts to speed up the parts programming process and I've hit a block. I went through the reference data for the APIs and can't seem to find anything relating to tooling other than path verification. What I really need is the ability to call up a tool through the script as a var, and then use it later on down the line. Essentially what I need is something along the lines of:
try:
{ui.messagebox ("Select roughing tool");
ui.opentoollibrary (get selected tool=tool1);
ui.opentoollibrary (get selected tool=tool2);
toolarray=(tool1, tool2);
if {(toolarray.select.0) == NULL or (toolarray.select.1) == NULL};
then {ui.messagebox "No Tools Selected!"};
else //continue program to generate toolpaths along the selected areas.
};
(Please excuse any language mixup I'm having here, its mostly concept speak and its probably not pure C++ because of it)
Also if you have a better way of going about doing this I am open to suggestions.
Solved! Go to Solution.