Dimension with variables

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

  • Dimension with variables

    Ok got a small problem
    Is there a way to use a varible to set nominal to the dimension?

    I check a lot of spool lands 4 hits per plane and have a lot of new work to do
    Just got 170 new jobs that will be running about 14 per week
    The lands of course will be set at different X values. I have everything working the way I want it but the dimensions.. I want to use this program as a template.
    Code below

    C1X =COMMENT/INPUT,Please Enter X Value for Landing 1
    ASSIGN/V1X = C1X.INPUT
    C1V =COMMENT/INPUT,Please Enter X Vector Direction
    ,
    ,1 or -1 only
    ASSIGN/V1V = C1V.INPUT
    MOVE/CLEARPLANE
    PNT1A =AUTO/VECTOR POINT, SHOWALLPARAMS=NO
    THEO/V1X,-0.293,-0.107,V1V,0,0
    ACTL/-2.294,-0.293,-0.107,1,0,0
    TARG/V1X,-0.293,-0.107,V1V,0,0
    PNT1B =AUTO/VECTOR POINT, SHOWALLPARAMS=NO
    THEO/V1X,0.293,-0.107,V1V,0,0
    ACTL/-2.292,0.293,-0.107,1,0,0
    TARG/V1X,0.293,-0.107,V1V,0,0
    PNT1C =AUTO/VECTOR POINT, SHOWALLPARAMS=NO
    THEO/V1X,0.201,-0.239,V1V,0,0
    ACTL/-2.292,0.201,-0.239,1,0,0
    TARG/V1X,0.201,-0.239,V1V,0,0
    PNT1D =AUTO/VECTOR POINT, SHOWALLPARAMS=NO
    THEO/V1X,-0.201,-0.239,V1V,0,0
    ACTL/-2.293,-0.201,-0.239,1,0,0
    TARG/V1X,-0.201,-0.239,V1V,0,0
    C2X =COMMENT/INPUT,Please Enter X Value for Landing 2
    ASSIGN/V2X = C2X.INPUT
    C2V =COMMENT/INPUT,Please Enter X Vector Direction
    ,
    ,1 or -1 only
    ASSIGN/V2V = C2V.INPUT
    PNT2A =AUTO/VECTOR POINT, SHOWALLPARAMS=NO
    THEO/V2X,-0.293,-0.107,V2V,0,0
    ACTL/-1.841,-0.293,-0.107,-1,0,0
    TARG/V2X,-0.293,-0.107,V2V,0,0
    PNT2B =AUTO/VECTOR POINT, SHOWALLPARAMS=NO
    THEO/V2X,0.293,-0.107,V2V,0,0
    ACTL/-1.839,0.293,-0.107,-1,0,0
    TARG/V2X,0.293,-0.107,V2V,0,0
    PNT2C =AUTO/VECTOR POINT, SHOWALLPARAMS=NO
    THEO/V2X,0.201,-0.239,V2V,0,0
    ACTL/-1.841,0.201,-0.239,-1,0,0
    TARG/V2X,0.201,-0.239,V2V,0,0
    PNT2D =AUTO/VECTOR POINT, SHOWALLPARAMS=NO
    THEO/V2X,-0.201,-0.239,V2V,0,0
    ACTL/-1.84,-0.201,-0.239,-1,0,0
    TARG/V2X,-0.201,-0.239,V2V,0,0
    PLN1 =FEAT/PLANE,RECT
    THEO/V1X,0,-0.173,V1V,0,1
    ACTL/-2.293,0,-0.173,0.9999877,-0.0037317,0.0032802
    CONSTR/PLANE,BF,PNT1A,PNT1B,PNT1C,PNT1D,,
    PLN2 =FEAT/PLANE,RECT
    THEO/V2X,0,-0.173,V2V,0,1
    ACTL/-1.84,0,-0.173,-0.9999956,0.0019816,0.0021932
    CONSTR/PLANE,BF,PNT2A,PNT2B,PNT2C,PNT2D,,
    DIM LOC1= LOCATION OF PLANE PLN1 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    X 0.000 0.015 0.015 -2.293 -2.293 2.278 <--------
    END OF DIMENSION LOC1
    DIM LOC2= LOCATION OF PLANE PLN2 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    X 0.000 0.015 0.015 -1.840 -1.840 1.825 <--------
    END OF DIMENSION LOC2

    Note the Nominals of loc1 and 2
    any ideas
    If I do the dimensions after the fact they pick up varibles fine just not as a template
    Tom
    Tia
    Last edited by T Miller; 03-23-2006, 06:54 AM.
    sigpic
    if you had soap on a rope it would be tied to yer ankle

  • #2
    DIM LOC1= LOCATION OF PLANE PLN1 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    X V1X 0.015 0.015 -2.293 -2.293 2.278 <--------
    END OF DIMENSION LOC1
    DIM LOC2= LOCATION OF PLANE PLN2 UNITS=IN ,$
    GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH
    AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
    X V2X 0.015 0.015 -1.840 -1.840 1.825 <--------
    END OF DIMENSION LOC2
    So you're saying when you put the assignments into the nominal output it doesn't change with the new assignment of the comment/inputs? Or did I miss read the post?
    "Your mom goes to college."
    Kip

    Comment


    • #3
      DIM LOC1= LOCATION OF PLANE PLN1 UNITS=IN ,$
      GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH
      AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
      X V1X 0.015 0.015 -2.293 -2.293 2.278 <--------
      END OF DIMENSION LOC1
      DIM LOC2= LOCATION OF PLANE PLN2 UNITS=IN ,$
      GRAPH=OFF TEXT=OFF MULT=1.00 OUTPUT=BOTH
      AX NOMINAL +TOL -TOL MEAS DEV OUTTOL
      X V2X 0.015 0.015 -1.840 -1.840 1.825 <--------
      END OF DIMENSION LOC2

      No even when I try it that way it will not change.. It leaves the v2x in place of the nominal
      sigpic
      if you had soap on a rope it would be tied to yer ankle

      Comment


      • #4
        So when you put your cursor over the variable in the output, it reads it as text?

        It seems to work ok for me.
        "Your mom goes to college."
        Kip

        Comment


        • #5
          No when I move the cursor over it it is correct.. It just doesn't show that way
          sigpic
          if you had soap on a rope it would be tied to yer ankle

          Comment


          • #6
            Oh Man I guess the Coffee didn't kick in yet... I forgot to switch to report mode.. All works fine.. Thanks Much
            sigpic
            if you had soap on a rope it would be tied to yer ankle

            Comment


            • #7
              Been there, done that. That very thing got me once as well. I followed the directions to the letter, then couldn't figure out WHY it was not showing a number on the screen, then saw it when I switched to report mode. It does make sense, otherwise if it didn't show your variable in EDIT mode, you would never remember what you did.
              sigpic
              Originally posted by AndersI
              I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

              Comment


              • #8
                Tom,

                You need to switch over to report mode. This should show your variable in the dimension block the way you want it.

                Craig
                <internet bumper sticker goes here>

                Comment

                Related Topics

                Collapse

                Working...
                X