using an Assgined Variable as a value for a generic feature.

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

  • using an Assgined Variable as a value for a generic feature.

    Is it possible to use an Assgined Variable as one of the values for a Constructed generic feature? And if so how do you do it?
    sigpic
    Cold Beer MMMmmmm........

    Dell Precision T5400
    Windows 7
    B&S XCEL
    WENZEL LH1512
    PCDMIS 2011 MR1

  • #2
    ASSIGN/V1 = 827
    F1 =GENERIC/POINT,DEPENDENT,RECT,$
    NOM/XYZ,827,10,10,$
    MEAS/XYZ,V1,10,10,$
    NOM/IJK,1,0,0,$
    MEAS/IJK,1,0,0
    sigpicYou're just jealous the voices talk to me.

    Comment


    • #3
      Code:
      F2_900_DIA =FEAT/CIRCLE,RECT,IN,LEAST_SQR
                  THEO/0,0,1.8,0,0,-1,2.9035
                  ACTL/-0.0014,0.0008,1.8013,0,0,1,2.9042
                  MEAS/CIRCLE,8,WORKPLANE
                  HIT/BASIC,0,1.4517,1.8,0,-1,0,-0.0004,1.4527,1.8011
                  HIT/BASIC,1.0265,1.0265,1.8,-0.7071068,-0.7071068,0,1.0273,1.0261,1.8012
                  HIT/BASIC,1.4517,0,1.8,-1,0,0,1.4506,0.0006,1.8014
                  HIT/BASIC,1.0265,-1.0265,1.8,-0.7071068,0.7071068,0,1.0263,-1.0247,1.8015
                  HIT/BASIC,0,-1.4517,1.8,0,1,0,-0.0009,-1.4513,1.8015
                  HIT/BASIC,-1.0265,-1.0265,1.8,0.7071068,0.7071068,0,-1.0276,-1.0266,1.8014
                  HIT/BASIC,-1.4517,0,1.8,1,0,0,-1.4536,-0.0009,1.8012
                  HIT/BASIC,-1.0265,1.0265,1.8,0.7071068,-0.7071068,0,-1.0284,1.0271,1.8011
                  ENDMEAS/
                  ASSIGN/F2900DIA = F2_900_DIA.D
      GENERIC    =GENERIC/POINT,DEPENDENT,RECT,$
                  NOM/XYZ,2.9035,0,1.389,$
                  MEAS/XYZ,F2900DIA,0,1.389,$
                  NOM/IJK,0,0,1,$
                  MEAS/IJK,0,0,1
      DIM GENERIC_DIMENSION= LOCATION OF POINT GENERIC  UNITS=IN ,$
      GRAPH=OFF  TEXT=OFF  MULT=1.00  OUTPUT=BOTH
      AX    MEAS   NOMINAL    +TOL     -TOL      DEV    OUTTOL 
      X    2.9042   2.9035   0.0050   0.0050   0.0007   0.0000 -----#---
      END OF DIMENSION GENERIC_DIMENSION
      <internet bumper sticker goes here>

      Comment


      • #4
        Should have known the cop would have a quicker draw than me. Nice shootin' Jamie.

        Craig
        <internet bumper sticker goes here>

        Comment


        • #5
          Arrgh!!!

          It is Jaime. My mom always said Jamie was pajamas.

          If you are using your example in a program I have to ask why use the variable? Why not skip the middle man?

          F2_900_DIA =FEAT/CIRCLE,RECT,IN,LEAST_SQR
          THEO/0,0,1.8,0,0,-1,2.9035
          ACTL/-0.0014,0.0008,1.8013,0,0,1,2.9042
          MEAS/CIRCLE,8,WORKPLANE
          HIT/BASIC,0,1.4517,1.8,0,-1,0,-0.0004,1.4527,1.8011
          HIT/BASIC,1.0265,1.0265,1.8,-0.7071068,-0.7071068,0,1.0273,1.0261,1.8012
          HIT/BASIC,1.4517,0,1.8,-1,0,0,1.4506,0.0006,1.8014
          HIT/BASIC,1.0265,-1.0265,1.8,-0.7071068,0.7071068,0,1.0263,-1.0247,1.8015
          HIT/BASIC,0,-1.4517,1.8,0,1,0,-0.0009,-1.4513,1.8015
          HIT/BASIC,-1.0265,-1.0265,1.8,0.7071068,0.7071068,0,-1.0276,-1.0266,1.8014
          HIT/BASIC,-1.4517,0,1.8,1,0,0,-1.4536,-0.0009,1.8012
          HIT/BASIC,-1.0265,1.0265,1.8,0.7071068,-0.7071068,0,-1.0284,1.0271,1.8011
          ENDMEAS/
          GENERIC =GENERIC/POINT,DEPENDENT,RECT,$
          NOM/XYZ,2.9035,0,1.389,$
          MEAS/XYZ,F2_900_DIA.D,0,1.389,$
          NOM/IJK,0,0,1,$
          MEAS/IJK,0,0,1
          sigpicYou're just jealous the voices talk to me.

          Comment


          • #6
            Originally posted by DaddyBluto
            Arrgh!!!

            It is Jaime. My mom always said Jamie was pajamas.
            Such an exquisitely ironic backhanded compliment could never have been planned. Or could it?
            sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery

            Comment


            • #7
              Originally posted by DaddyBluto
              Arrgh!!!

              It is Jaime. My mom always said Jamie was pajamas.

              If you are using your example in a program I have to ask why use the variable? Why not skip the middle man?

              F2_900_DIA =FEAT/CIRCLE,RECT,IN,LEAST_SQR
              THEO/0,0,1.8,0,0,-1,2.9035
              ACTL/-0.0014,0.0008,1.8013,0,0,1,2.9042
              MEAS/CIRCLE,8,WORKPLANE
              HIT/BASIC,0,1.4517,1.8,0,-1,0,-0.0004,1.4527,1.8011
              HIT/BASIC,1.0265,1.0265,1.8,-0.7071068,-0.7071068,0,1.0273,1.0261,1.8012
              HIT/BASIC,1.4517,0,1.8,-1,0,0,1.4506,0.0006,1.8014
              HIT/BASIC,1.0265,-1.0265,1.8,-0.7071068,0.7071068,0,1.0263,-1.0247,1.8015
              HIT/BASIC,0,-1.4517,1.8,0,1,0,-0.0009,-1.4513,1.8015
              HIT/BASIC,-1.0265,-1.0265,1.8,0.7071068,0.7071068,0,-1.0276,-1.0266,1.8014
              HIT/BASIC,-1.4517,0,1.8,1,0,0,-1.4536,-0.0009,1.8012
              HIT/BASIC,-1.0265,1.0265,1.8,0.7071068,-0.7071068,0,-1.0284,1.0271,1.8011
              ENDMEAS/
              GENERIC =GENERIC/POINT,DEPENDENT,RECT,$
              NOM/XYZ,2.9035,0,1.389,$
              MEAS/XYZ,F2_900_DIA.D,0,1.389,$
              NOM/IJK,0,0,1,$
              MEAS/IJK,0,0,1
              That is not real code it is an example. I wouldn't do that in a program but examples illustrate well and I don't know his application anymore than you know weather or not 827 is his X nominal. Why did you use 827 huh? Maybe his X nom is 4.325 maybe he is not interested in X. It was simply an example. Silly pajamas.
              <internet bumper sticker goes here>

              Comment


              • #8
                thanks

                Thanks everyone! I think I've got it!!
                sigpic
                Cold Beer MMMmmmm........

                Dell Precision T5400
                Windows 7
                B&S XCEL
                WENZEL LH1512
                PCDMIS 2011 MR1

                Comment


                • #9
                  Are some people cranky today?!

                  Ok, I am. Just don't want to be here. Hence the reason for so many posts today.
                  When in doubt, post code. A second set of eyes might see something you missed.
                  sigpic

                  Comment

                  Related Topics

                  Collapse

                  Working...
                  X