You are not logged in.
In the SUBSTITUTIONS section add:
"VERICUT-CUTCOLOR NEXT" "CHANGECUTCOLOR"
or
"MSG,VERICUT-CUTCOLOR NEXT" "CHANGECUTCOLOR"
Then use CHANGECUTCOLOR as mentioned in my previous reply.
Voila! Enhancement already working.
Jerry
Jerry Millett
Offline
here is another workaround:
let's say you cut your pocket with a feedrate of 50 IPM.
At each level, you change the feedrate to 50.1, 50.2, 50.3, etc...
Edit > Colors...
Cut Color tab
Color Method - Feed Range Color
Add ranges 50.1, 50.2, 50.3, etc...
each feedrate will show in a different color
Note: under the Define tab, add as many colors as you want/need. It does not affect the shading anymore.
Offline
In the SUBSTITUTIONS section add:
"VERICUT-CUTCOLOR NEXT" "CHANGECUTCOLOR"
or
"MSG,VERICUT-CUTCOLOR NEXT" "CHANGECUTCOLOR"Then use CHANGECUTCOLOR as mentioned in my previous reply.
Voila! Enhancement already working.
Jerry
Gerry,
Your method is working great, but in 6.2 we added a new macro "SetCut Color"
You could call this macro with the above message. Using a variable in the Override Value, you could change the color every time is is called.
Offline
Serge,
Using UnLoadToolNoRetract then ToolChangeNoRetract works OK because it uses all available colors, however, it is not without its potential problems.
Using SetCutColor is more elegant, epecially if you know how many cut colors. Is there a way to dynamically determine the maximum number of cut colors? Set #9999998 to the maximum cut colors and use this:
WORD_VALUE "(CHANGECUTCOLOR)" {
... COND_VAR_AND "9999999" "0-1 #9999998" {
... ... VARIABLE "9999998" {
... ... ... OVERRIDE_VALUE 6 TEXT_OVERRIDE_VALUE "NEED TO CHANGE TO MAX CUT COLORS"
... ... }
... ... VARIABLE "9999999" {
... ... ... OVERRIDE_VALUE 2
... ... }
... ... MACRO "SetCutColor" {
... ... ... OVERRIDE_EXP "#9999999"
... ... }
... }
... VARIABLE "9999999" {
... ... OVERRIDE_EXP "1 + #9999999"
... }
... MACRO "SetCutColor" {
... ... OVERRIDE_EXP "#9999999"
... }
}
This will cycle the cutcolor from 2 to 6 (or max) cut colors. Simple if there are a lot of cut colors.
Jerry Millett
Offline
creating a tool change event could cause some problems to people generating reports.
There is no connection betwen the control and the defined colors for variables. But you could define it manually in the Variable window.
Offline