print IJK vector

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

  • print IJK vector

    Can I show print out in report mode or show in the graphics window the IJK of a point other than printing out program?

  • #2
    Code:
    COMMENT/REPT,NO,FEAT1.I + "," + FEAT1.J + "," + FEAT1.K
    Where FEAT1 is the feature whose I,J,K you wish to report.

    You might be able to do it from the dimension location dialogue but I don't report point data so I have little experience there. If you can't do it as a dimension or don't want to the above code will work.

    Craig
    Last edited by craiger_ny; 07-28-2006, 01:12 PM.
    <internet bumper sticker goes here>

    Comment


    • #3
      F10
      Select only measured
      copy report and paste in to notepad
      from notepade to excel
      -deliminate space and comma
      -sort in excel.
      call me if you need more help

      Yatish
      281-363-6579

      Comment


      • #4
        Oh yeah forgot to tell you, using my method you must have "show comments" checked on the report setup. That is what you want right for the I,J,K to be displayed in the report? I think Chikoo has me confused now. Maybe I have me confused.

        Craig
        <internet bumper sticker goes here>

        Comment


        • #5
          Craig The best I can do is to do like Chikoo say and use Excel to seperate the program code.
          I can't get your way to work? I can put I,J,K into a variable then to a comment.

          Comment


          • #6
            If you can get it into a variable and you can get the variable into a comment then I don't quite understand what is not working. Are you saying that the comment does not show in the report? If that is the case you need to have your reports display comments (it may be turned off). Also do you have operators in your feature names?

            I just ran this code
            Code:
            DTM_A      =FEAT/PLANE,RECT,TRIANGLE
                        THEO/1.8821,14.1795,-27.3904,0,0,1
                        ACTL/1.882,14.1795,-27.3653,-0.0000683,-0.0004152,0.9999999
                        MEAS/PLANE,4
                        HIT/BASIC,NORMAL,1.1046,14.8292,-27.39,0,0,1,1.1046,14.8292,-27.3651,USE THEO = YES
                        HIT/BASIC,NORMAL,2.6871,14.8294,-27.3908,0,0,1,2.687,14.8295,-27.365,USE THEO = YES
                        HIT/BASIC,NORMAL,2.6872,13.5299,-27.39,0,0,1,2.6871,13.5299,-27.3655,USE THEO = YES
                        HIT/BASIC,NORMAL,1.0495,13.5297,-27.3908,0,0,1,1.0493,13.5295,-27.3656,USE THEO = YES
                        ENDMEAS/
                        ASSIGN/AR_IJK = ARRAY(DTM_A.I, DTM_A.J, DTM_A.K)
                        COMMENT/REPT,AR_IJK
                        COMMENT/REPT,DTM_A.I + "," + DTM_A.J + "," + DTM_A.K
            And both comments did return the measured I,J,K values in the report. Obviously the array requires one more line of code but character for character it may be less typing (I didn't count so I don't know). It works so you may have something going on.

            Craig
            <internet bumper sticker goes here>

            Comment


            • #7
              In the dimension window select Textual analysis and it will report the IJK value with the XYZ values. Just report one of the axes.
              PC-DMIS 2016.0 SP8

              Jeff

              Comment


              • #8
                OK its Monday I got rid of the NO statement and it works great. Thanks. Not sure which way to go yet, I've got 50 pts to show this on.

                Comment


                • #9
                  Originally posted by Randy P
                  OK its Monday I got rid of the NO statement and it works great. Thanks. Not sure which way to go yet, I've got 50 pts to show this on.
                  Sorry about the no. I copied and pasted that and it had that in it from pasting, I wasn't at the CMM when I replied. My bad.

                  Craig
                  <internet bumper sticker goes here>

                  Comment


                  • #10
                    Can't you just output "V"?

                    Code:
                    [FONT=Courier New][SIZE=1]PNT1       =AUTO/VECTOR POINT, SHOWALLPARAMS=YES
                                THEO/3060,726.22,619,-0.0185542,0.9997414,-0.0131511
                                ACTL/3060,726.22,619,-0.0185542,0.9997414,-0.0131511
                                TARG/3060,726.22,619,-0.0185542,0.9997414,-0.0131511
                                  ACTL_THICKNESS = 0, RECT, SNAP = NO ,$
                                  AUTO MOVE = NO, DISTANCE = 15
                    DIM LOC1= LOCATION OF POINT PNT1  UNITS=MM ,$
                    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
                    AX   NOMINAL     MEAS       +TOL       -TOL        DEV      OUTTOL   
                    X    3060.000   3060.000      0.000      0.000      0.000      0.000 ----#----
                    Y     726.220    726.220      0.000      0.000      0.000      0.000 ----#----
                    Z     619.000    619.000      0.000      0.000      0.000      0.000 ----#----
                    T       0.000      0.000      0.000      0.000      0.000      0.000 ----#----
                    V      -0.019      1.000     -0.013
                    END OF DIMENSION LOC1[/SIZE][/FONT]
                    "Your mom goes to college."
                    Kip

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X