Point maps - REDUX

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

  • Point maps - REDUX

    Good morning.

    I have been trying to format our output reports to generate a point map diagram of the out of tolerance items. The basic tact that I have taken is to generate a viewset of the points that make up the different feature sets.

    http://i20.photobucket.com/albums/b2...well/FS_52.jpg

    I have then constructed an If statement as:

    PHP Code:
    DIM PRF_52PROFILE OF SURFACE OF SET FS_52  FORMANDLOCATION  UNITS=IN ,$
    GRAPH=OFF  TEXT=ON  MULT=10.00  OUTPUT=BOTH
    AX   NOMINAL     
    +TOL       -TOL       MEAS        MAX        MIN        DEV      OUTTOL   
    M       0.000      0.020      0.020      0.000      0.000      0.000      0.000      0.000 
    -#-
                
    IF/PRF_52.OUTTOL <> 0.000
                RECALL
    /VIEWSET,FS_52
                DISPLAY
    /METAFILE""CAD
                FORMFEED
    /
                
    END_IF
    The plan is to evaluate the dimension statement; recall the viewset if the dimension is out of tolerance; capture the viewset to the report; formfeed to the next item and repeat as needed. This would be really handy for our rework cycle as the Finishers would be able to see which point was out of tolerance and where the rework would need to take place.

    My problem is that the once I generate the DISPLAY/METAFILE, "", CAD in my IF statement, the graphic stays hardcoded into the report, even if the item is in tolerance.

    Where am I fouling up or is this one of the "charms" of PC-Dmis. BTW, I am doing this in 3.7 MR3.

    Thanks for any help you may be able to give.

  • #2
    Please find it out in the attachment!

    Attached Files
    The content mind is the greatest happiness a man can enjoy in the world.......

    SHEFFIELD CMM
    PCDMIS V3.7/V4.1/V4.2........

    Comment


    • #3
      But mine is the 4.1 version. Maybe there's some difference. If it does not work please let me know. May it can help you.
      The content mind is the greatest happiness a man can enjoy in the world.......

      SHEFFIELD CMM
      PCDMIS V3.7/V4.1/V4.2........

      Comment


      • #4
        I understand that I am able to that on a location but that fix does me no good in this situation. What I need to know is why the IF statement does not work as formatted. Perhaps it won't work at all. I was hoping that someone could look at the coding and evaluate my approach.

        Comment


        • #5
          MAybe if you took the less then sign out
          sigpic
          if you had soap on a rope it would be tied to yer ankle

          Comment


          • #6
            Originally posted by Chugger View Post
            My problem is that the once I generate the DISPLAY/METAFILE, "", CAD in my IF statement, the graphic stays hardcoded into the report, even if the item is in tolerance.

            Thanks for any help you may be able to give.
            This works as coded, make sure you are looking at the View Last Execution Report Mode, and not the standard Report Mode view. The report mode view will never look at flow control commands.

            If you are looking at the right report screen, check Reset Global Settings When branching. Display/Metafile isnt listed as a global setting, but ya never know. Also, if all else fails stick a breakpoint in there and make sure the cursor is jumping over the display command.

            This works though, and a pretty cool idea at that. I can see a very sharp use of this in the 4.0+ rule trees with the new interactive analysis window.

            Comment


            • #7
              ahhhhh.... Last execution mode. I ALWAYS forget that. I'll give it a shot. Thank you!

              Comment


              • #8
                So, is this resolved?

                I may have to play with some of this myself this morning...
                sigpic
                Xcel 15-20-10 - PFXcel 7-6-5 - Merlin 11-11-7 - Romer Absolute 7525SI
                PCDMIS 2012
                Windows Office XP

                Comment

                Related Topics

                Collapse

                Working...
                X