Circle Averages

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Circle Averages

    I'm trying to get the average diameter of some circles and report them. So far I have done this:

    ASSIGN/V1= CIR1.+CIR2.+CIR3./3

    But, my assign line in the edit window comes out in red. So I guess I'm not doing something right. And, how do I report the variable? Do I go into location and diameter and plug in the variable there? I'm still running ver. 3.2063
    Thanks, Chuck

  • #2
    Assign/v1= (cir1.d+cir2.d+cir3.d)/3
    Links to my utilities for PCDMIS

    Comment


    • #3
      You need the .D extesion for diameter.

      Craig
      <internet bumper sticker goes here>

      Comment


      • #4
        Code:
        COMMENT/REPT,"The average value of Cir1, Cir2, Cir3 is:" + V1
        If you dont want to add another dim to your report you can always put it in a report comment like this one above.

        Of if you would rather have your variable in a Dimension so it looks snazzy. Place your value into a Generic Feature, and then Dimension that instead.

        Code:
        $$ NO,Make V1 Your average actual dia
             ,Make v2 your average theo dia
                    ASSIGN/V1 = 15
                    ASSIGN/V2 = 15.5
        F1         =GENERIC/CIRCLE,DEPENDENT,RECT,OUT,$
                    NOM/XYZ,0,0,0,$
                    MEAS/XYZ,0,0,0,$
                    NOM/IJK,0,0,1,$
                    MEAS/IJK,0,0,1,$
                    DIAMETER/V2,V1
        DIM LOC1= LOCATION OF CIRCLE F1  UNITS=MM ,$
        GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
        AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
        D      15.500      0.010      0.010     15.000     -0.500      0.490 <--------
        END OF DIMENSION LOC1
        Last edited by MrComment; 12-14-2006, 04:09 PM.
        Mr. Comment
        SCIROCCO-NT 13-20-10
        B3C-LC Controller (Leitz Protocol), SP600M, TP200
        PCDMIS CAD++ v4.3 MR1(Build: 12/11/08)
        sigpic

        Comment

        Related Topics

        Collapse

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎