How to place tolerances on assigned variables?

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

  • How to place tolerances on assigned variables?

    Hello,

    I am looking to use the assign command to create a basic function and then report it with a comment report command. I will need to place tolerances on the assigned function, which will turn the variable red when the value is outside of the tolerance spec. I have figured out how to use the assign command to create the function and display it, but I do not know how to assign the tolerances, and change the color to red.

    Any help would be greatly appreciated.

  • #2
    You can't change variables to different colors based on tolerances. The only way an assignment turns red is when the function doesn't make sense or is illegal. You can put a variable in a generic feature and dimension the generic feature with a tolerance.

    Comment


    • #3
      make a generic feature (point) with the nominal+0 set to what you want the nominal to be, and the actl to the variable, report that axis.
      sigpic
      Originally posted by AndersI
      I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

      Comment


      • #4
        If you haven't used a generic feature before, you'll find it under Insert...Feature...Generic. You won't be able to do what you need to from that window, so just select the feature type and click OK.

        In the feature, do this.

        Code:
        ASSIGN/[COLOR=#E74C3C][B]V1[/B][/COLOR]=.998
        
        F1 =GENERIC/POINT,DEPENDENT,CARTESIAN,$
        NOM/XYZ,<[COLOR=#E74C3C][B]1[/B][/COLOR],0,0>,$
        MEAS/XYZ,<[COLOR=#C0392B][B]V1[/B][/COLOR],0,0>,$
        NOM/IJK,<0,0,1>,$
        MEAS/IJK,<0,0,1>
        
        DIM DIM_1= LOCATION OF POINT F1 UNITS=IN ,$
        GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
        AX MEAS NOMINAL +TOL -TOL DEV OUTTOL
        X 0.9980 1.0000 0.0020 0.0020 -0.0020 0.0000 #--------
        END OF DIMENSION DIM_1

        Comment


        • #5
          Originally posted by RandomJerk View Post
          If you haven't used a generic feature before, you'll find it under Insert...Feature...Generic. You won't be able to do what you need to from that window, so just select the feature type and click OK.

          In the feature, do this.

          Code:
          ASSIGN/[COLOR=#E74C3C][B]V1[/B][/COLOR]=.998
          
          F1 =GENERIC/POINT,DEPENDENT,CARTESIAN,$
          NOM/XYZ,<[COLOR=#E74C3C][B]1[/B][/COLOR]+0,0+0,0+0>,$
          MEAS/XYZ,<[COLOR=#C0392B][B]V1[/B][/COLOR],0,0>,$
          NOM/IJK,<0,0,1>,$
          MEAS/IJK,<0,0,1>
          
          DIM DIM_1= LOCATION OF POINT F1 UNITS=IN ,$
          GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO
          AX MEAS NOMINAL +TOL -TOL DEV OUTTOL
          X 0.9980 1.0000 0.0020 0.0020 -0.0020 0.0000 #--------
          END OF DIMENSION DIM_1
          Due to Pcdmis quirks I would add the +0 to the nominal value. Just to be safe. Generic features are the only ones I do this to.
          sigpic
          Originally posted by AndersI
          I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

          Comment


          • RandomJerk
            RandomJerk commented
            Editing a comment
            Don't disagree, I tend to do it for more than this, too.

        • #6
          ~~1
          ~~2
          ~~3
          ~~4

          these should change the color of text. Gray, red, blue, black. Not sure which changes which. Click the help file in PCDMIS for more info.

          these are for changing text color on reports.

          B&S CHAMELEON/PCDMIS CAD++ V2011

          There are no bugs, only "UNDOCUMENTED ENHANCEMENTS!"

          sigpic

          Comment


          • #7
            You would need to test if the variable is oot using flow control, then change the color of the comment text.

            B&S CHAMELEON/PCDMIS CAD++ V2011

            There are no bugs, only "UNDOCUMENTED ENHANCEMENTS!"

            sigpic

            Comment

            Related Topics

            Collapse

            Working...
            X