Your Products have been synced, click here to refresh
COMMENT/REPT, -------------------------------------------------------------- 1.6000 ±.0098 Location of .190-32 & 5/16-24 Threads -------------------------------------------------------------- DIM DIST1= 2D DISTANCE FROM CIRCLE -B- TO CIRCLE .190-32 THD PAR TO XAXIS,NO_RADIUS UNITS=IN,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH AX MEAS NOMINAL +TOL -TOL OUTTOL DEV M 1.5989 1.6000 0.0098 0.0098 0.0000 -0.0011 ---#----- DIM DIST2= 2D DISTANCE FROM CIRCLE -B- TO CIRCLE 5/16-24 #2 PAR TO XAXIS,NO_RADIUS UNITS=IN,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH AX MEAS NOMINAL +TOL -TOL OUTTOL DEV M 1.5997 1.6000 0.0098 0.0098 0.0000 -0.0003 ----#---- COMMENT/REPT, -------------------------------------------------------------- 1.0000 ±.0314 Location of Ø.5972 Spotface -------------------------------------------------------------- DIM DIST3= 2D DISTANCE FROM POINT CAST POINT TO CIRCLE -B- PAR TO XAXIS,NO_RADIUS UNITS=IN,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH AX MEAS NOMINAL +TOL -TOL OUTTOL DEV M 1.0010 1.0000 0.0314 0.0314 0.0000 0.0010 ----#---- WORKPLANE/XPLUS COMMENT/REPT,
One other question.
I am able to get the Dimesion measured value using
Dim assignName As Object = cmd.GetFieldValue(PCDLRN.ENUM_FIELD_TYPES.DIM_MEAS URED, 1)
I am also able to get the outtotal and Deviation column values using
Dim outtol As Object = cmd.GetFieldValue(PCDLRN.ENUM_FIELD_TYPES.DIM_OUTT OL, 1)
Dim deviation As Object = cmd.GetFieldValue(PCDLRN.ENUM_FIELD_TYPES.DIM_DEVI ATION, 1)
But i am unable to extract the values under Nomina;, +tol, -tol . I did try PCDLRN.ENUM_FIELD_TYPES.AXIS_NOMINAL, PCDLRN.ENUM_FIELD_TYPES.AXIS_MINUSTOL, PCDLRN.ENUM_FIELD_TYPES.AXIS_PLUSTOL but i do not get the vakues in these columns.
I have also noticed that there is reportWindow class within the partProgram class but how do I access the data in the Report Window ?
My objective is to execute a CMM program, track all the measured values with the command description like in the comments in the Report, I want to capture whatever is in the report and use vb.net to import these values directly to Sql than having to move it to csv and then move it to sql.
For Each cmd In cmds If cmd.IsComment And cmd.Marked = True Then If cmd.GetText(PCDLRN.ENUM_FIELD_TYPES.COMMENT_TYPE, 0) = "REPT" Then MsgBox(cmd.GetText(PCDLRN.ENUM_FIELD_TYPES.COMMENT_FIELD, 2).ToString) End If End If Next cmd
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |