Your Products have been synced, click here to refresh
Don't yell at me young man No I understand what your wanting and I see what your getting. just thought maybe Width might have been involved since it gave trouble with that in Xact, I'm not using the Geo yet, just because of the issues, just throwing things out there to see if it does show up in geo if you do it differently.
Check here:
https://www.pcdmisforum.com/forum/pc-dmis-enterprise-metrology-software/pc-dmis-code-samples/478298-convert-xactmeasure-gettext-to-expressions-for-geometric-tolerance-commands
https://www.pcdmisforum.com/forum/pc-dmis-enterprise-metrology-software/pc-dmis-code-samples/478604-problem-with-command-getfieldvalue-and-the-new-geotol-2020-r2
somewhat of a hack workaround:
ASSIGN/V2=GETTEXTEX(1133, 1, "SEG=1", "FCFLOC2")
1133 = REPORT_LABEL_MEAS
1 is the feature index starting at 1
"SEG=1" is the segment desired starting at 1
"FCFLOC2" is the dimension name
This will return a string containing ALL of the measured values with at least 1 spaced between the items.
1131 would return the REPORT_LABEL_AXIS in a single string but no spaces.
I think the above FCF has 4 features so each set of values would be something like this?
ASSIGN/V1=GETTEXTEX(1133, 1, "SEG=1", "FCFLOC2")
ASSIGN/V2=GETTEXTEX(1133, 2, "SEG=1", "FCFLOC2")
ASSIGN/V3=GETTEXTEX(1133, 3, "SEG=1", "FCFLOC2")
ASSIGN/V4=GETTEXTEX(1133, 4, "SEG=1", "FCFLOC2")
The returned string may have a chr(13) as a delimiter? Can't tell with the expression popup window.
30TP =GEOMETRIC_TOLERANCE/STANDARD=ASME Y14.5,SHOWEXPANDED=YES, DATUM_MATH=LSQ,DISPLAY_COORDS=CURRENT_ALIGNMENT, UNITS=MM,OUTPUT=REPORT,ARROWDENSITY=100, SIZE/NOMINAL=10,UPPER TOLERANCE=0.08,LOWER TOLERANCE=0.08, LRG_SLOT: UAME SIZE:10.035, RIGHT_SLOT: UAME SIZE:10.011, BTM_SLOT: UAME SIZE:10.028, LEFT_SLOT: UAME SIZE:10.016, SEGMENT_1,POSITION,DIAMETER,1,MMC,__,A,__,B,__,C,_ _, TEXT=OFF,CADGRAPH=OFF,REPORTGRAPH=OFF,MULT=10, MEASURED: LRG_SLOT:0.104, RIGHT_SLOT:0.376, BTM_SLOT:0.576, LEFT_SLOT:0.858, ADD DATUMS/REPORTDATUMSIZE=OFF, A(CYL1):NOM=26.6,+Tol=0.06,-Tol=0.06, FEATURES/LRG_SLOT,RIGHT_SLOT,BTM_SLOT,LEFT_SLOT,, ASSIGN/COUNT=0 L1 =LABEL/ ASSIGN/COUNT=COUNT+1 ASSIGN/V11=GETTEXTEX(1136,COUNT,"SEG=1","30TP") FPTR =FILE/OPEN,C:\File.csv,WRITE FILE/WRITELINE,FPTR,V11 FILE/CLOSE,FPTR,KEEP FPTR2 =FILE/OPEN,C:\File.csv,READ V15 =FILE/READLINE,FPTR2,{LINE1} ASSIGN/V12=LINE1 ASSIGN/VANGLE=90+V12 ANGLE =GENERIC/NONE,DEPENDENT,CARTESIAN,OUT,$ NOM/XYZ,<0+0,0+0,0+0>,$ MEAS/XYZ,<0+0,0+0,0+0>,$ NOM/IJK,<0+0,0+0,1+0>,$ MEAS/IJK,<0+0,0+0,1+0>,$ RADIUS/0+0,0+0,$ ANGLE/90+0,VANGLE,$ DISTANCE/0+0,0+0 FILE/CLOSE,FPTR2,KEEP IF_GOTO/COUNT<4,GOTO = L1 DIM LOC1= LOCATION OF PLANE ANGLE[1] UNITS=MM ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=NO AX NOMINAL MEAS +TOL -TOL DEV OUTTOL A 90.000 90.229 2.000 2.000 0.229 0.000 ----#--- END OF DIMENSION LOC1 DIM LOC2= LOCATION OF PLANE ANGLE[2] UNITS=MM ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=NO AX NOMINAL MEAS +TOL -TOL DEV OUTTOL A 90.000 89.171 2.000 2.000 -0.829 0.000 --#----- END OF DIMENSION LOC2 DIM LOC3= LOCATION OF PLANE ANGLE[3] UNITS=MM ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=NO AX NOMINAL MEAS +TOL -TOL DEV OUTTOL A 90.000 88.731 2.000 2.000 -1.269 0.000 -#------ END OF DIMENSION LOC3 DIM LOC4= LOCATION OF PLANE ANGLE[4] UNITS=MM ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=NONE HALF ANGLE=NO AX NOMINAL MEAS +TOL -TOL DEV OUTTOL A 90.000 91.889 2.000 2.000 1.889 0.000 -------# END OF DIMENSION LOC4
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |