Announcement

Collapse
No announcement yet.

Transition Between Holes SET_PROC_DATA <parameter>, variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    "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".

    Comment


    • #3
      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

      Parameter in "Absolute Z" textbox:
      CP1

      image.png

      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



      GET example:
      GET_PROC_DATA 1, DRILL_CLEAR_PLANE, <variable name>
      GET_PROC_DATA 1, CP1, <variable name>


      ​​

      Comment


      • #4
        Originally posted by DanielR View Post
        "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


        • #5
          MD_RETRACT_LEVEL and DRILL_CLEAR_PLANE both output the same integer value(0-3). Not sure what the difference is...

          Comment

          Working...
          X