hexagon logo

Display Capture When

I have a area that is on a compond angle and each time it's off there are a thousand questions as to how to move it correctly to get it back into tolerance. So I've done the following.
################################### ITEM #90
THEORETICAL OFFSET FROM -AYZ-
X- 332.28; Y- 15.25; ROTATE AROUND Z- 20°
Y- 38.4; Z- 5.73; ROTATE AROUND X- -25.5
DIM LOC8= POSITION OF CIRCLE DRILLED_4 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH FIT TO DATUMS=OFF DEV PERPEN CENTERLINE=OFF DISPLAY=DIAMETER
AX MEAS NOMINAL +TOL -TOL BONUS DEV OUTTOL
X 0.1441 0.0000 0.1441
Y 0.0000 0.0000 0.0000
Z 0.1666 0.0000 0.1666
DF 6.0497 6.0000 0.1500 0.1500 0.0497 0.0000 --#-
TP RFS 0.3000 0.0000 0.4406 0.1406 --->
END OF DIMENSION LOC8
Created a viewset of what I need to show them
By placing it here it updates each time it runs
VIEW90A =VIEWSET/
I recall the saved view
RECALL/VIEWSET,VIEW90A
If the feature falls out of tol I send the screen dump to the report
IF/LOC8.TP.OUTTOL > 0
ASSIGN/ANG11="REPT"
DISPLAY/METAFILE, "TRITEM90", 50%, MEDIUM
END_IF/
If the feature is within tol it does not send the screen dump to the printer "report"
ELSE_IF/LOC8.TP.OUTTOL == 0
ASSIGN/ANG11="$$"
END_ELSEIF/
ANG11 NO,
###################################
X-PLUS IS TOWARDS THE NEAR END OF THE PART
Y-PLUS IS COMING DIRECTLY OUT OF THE HOLE
Z-PLUS IS THRU THE CASTING TOWARD THE OTHER SIDE
ALL OF THESE ARE PARRALLEL TO THE FACE OF THE HOLE


If the feature falls out of tolerance both the verbiage and the picture go onto the report.
The picture "VIEW SET" is saved so that it shows the hole in question with the trihedron right on top of the hole and in the alignment in question
If the feature falls inside tolerance no verbiage or picture go to the report.