Remeasure toggle...

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

  • Remeasure toggle...

    Next question, anyone seen any way to identify if the remeasure toggle is on or off?

  • #2
    In the Edit Window, you can (if Show Feature Parameters is set to YES) check the RMEAS=(etc etc) section of code within a feature.
    Edit: the above is incorrect

    Are you trying to do this for every program, or just look at a specific feature and check?
    Last edited by InspectorJester; 04-10-2019, 08:15 AM.

    Comment


    • #3
      I Think RMES is "relative measure", not the same as "re-measure"...
      AndersI
      SW support - Hexagon Metrology Nordic AB

      Comment


      • #4
        Sorry, was unclear. Doing it using Automation. Haven't found any mention of it in documentation, and a quick look with gettext provided nothing. But I'll let excel do a comparison and see if something pops out...

        Comment


        • #5
          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?)!

          Code:
            ' 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…

          Code:
            ' 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)
          AndersI
          SW support - Hexagon Metrology Nordic AB

          Comment


          • #6
            Good call! Simpler than my approach.

            Odd naming indeed, no wonder I didn´t find it. I'll get back when I've tried it.

            Comment


            • #7
              Worked! Thank you!

              Comment

              Related Topics

              Collapse

              Working...
              X