If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Transition Between Holes SET_PROC_DATA <parameter>, variable
Transition Between Holes SET_PROC_DATA <parameter>, variable
I need to auto set the "Transition Between Holes" to "Absolute Z" and set the value to a specific number. I'm having trouble locating the Parameter that sets these. Does anyone know? image.png
"MD_RETRACT_LEVEL" will set the radio buttons. Pretty sure it's in the same order as the dialog (0, 1, 2, 3 top to bottom).
The parameter name for the field itself is probably "CP1".
Okay so I figured out the parameter for both the check box and the value stored in the Absolute Z textbox through process of elimination using the Debug. I doubt anyone else will run into this but I figure I may as well answer my own question for reference.
The parameter for between hole types:
DRILL_CLEAR_PLANE
integer type:
R Level = 0
Part Clearance =1
Absolute Z = 2
Hole Feature = 3
SET example (*Note: you must reopen process to see changes):
SET_PROC_DATA 1, DRILL_CLEAR_PLANE, 2 !Set Transition to Absolute Z
SET_PROC_DATA 1, CP1, 1.2345 !Set Absolute Z value to 1.2345
"MD_RETRACT_LEVEL" will set the radio buttons. Pretty sure it's in the same order as the dialog (0, 1, 2, 3 top to bottom).
The parameter name for the field itself is probably "CP1".
i will try the MD_RETRACT_LEVEL. I did not see your reply when i posted.
Comment