hexagon logo

Remeasure toggle...

Next question, anyone seen any way to identify if the remeasure toggle is on or off?
Parents
  • To find the answer you create a small part program with one circle with remeasure=NO, and one with remeasure=YES, export the program as BASIC.

    By comparing what PC-DMIS generated you will find that it is the toggle RMEAS_TYPE (I wonder what Relative Measure is called internally?)!

      ' Set Re-Measure  = NO
        retval = DmisCommand.SetToggleString (1, RMEAS_TYPE, 0)
    
      ' Set Re-Measure  = YES
        retval = DmisCommand.SetToggleString (2, RMEAS_TYPE, 0)
    



    I just had to test Relative Measure too…

      ' Set Relative Measure Feature X  = CIR1
        retval = DmisCommand.PutText ("CIR1", RMEASFEATIDX, 0)
      ' Set Relative Measure Feature Y  = CIR1
        retval = DmisCommand.PutText ("CIR1", RMEASFEATIDY, 0)
      ' Set Relative Measure Feature Z  = CIR1
        retval = DmisCommand.PutText ("CIR1", RMEASFEATIDZ, 0)
    

Reply
  • To find the answer you create a small part program with one circle with remeasure=NO, and one with remeasure=YES, export the program as BASIC.

    By comparing what PC-DMIS generated you will find that it is the toggle RMEAS_TYPE (I wonder what Relative Measure is called internally?)!

      ' Set Re-Measure  = NO
        retval = DmisCommand.SetToggleString (1, RMEAS_TYPE, 0)
    
      ' Set Re-Measure  = YES
        retval = DmisCommand.SetToggleString (2, RMEAS_TYPE, 0)
    



    I just had to test Relative Measure too…

      ' Set Relative Measure Feature X  = CIR1
        retval = DmisCommand.PutText ("CIR1", RMEASFEATIDX, 0)
      ' Set Relative Measure Feature Y  = CIR1
        retval = DmisCommand.PutText ("CIR1", RMEASFEATIDY, 0)
      ' Set Relative Measure Feature Z  = CIR1
        retval = DmisCommand.PutText ("CIR1", RMEASFEATIDZ, 0)
    

Children
No Data