hexagon logo

Parts Measuring Exactly the Same

Hope everyone is well on this Friday. I have a decent issue on my hands. I'm measuring a few parts to get a feel for what the numbers are. The first part was a completed part that inspected all the features. The next two parts are missing a giant bore in them. But wanted to check the position of some other holes.

The problem I'm having is that, my report shows the same numbers as from the first part. Its not updating to the newly measured parts. Any idead to as what I'm doing wrong? Thaks for your time.
  • So many posibilities here. How did you skip the features you didn't want measured ? Might need to see some code on this.
  • So you made a program, ran it and got data. Now you run subsequent units and the data is not updating?
    Or are the parts actually capable of being manufactured with little to no variation?

    Often, sharing the program code can help people see what is taking place that could otherwise cause you an issue.
  • I just stopped the program before the feature was measured. then when asked if I still wanted to print report I said yes. I can paste the whole code in a few minutes. Thanks again.
  • Yes, I ran the subsequent parts and they repeat line for line what the first part yielded. The parts are thermal plastic moldings. I'm new at the plastic stuff. All my experience is from a machine shop working with metal. However, there has to be some variation. I'm obviously doing something wrong. I will post the code. Thanks.
  • ​Is there a neat way to transfer the code? Everything is kind of jumbled up and when I try to paste in the reply box I get a database error.
  • If you're reporting all dimensions at the end of the program rather than after every feature measured, then the report is not updating if you stop the routine after the feature is measured but before you get to the dimension...if I understand the question correctly....
  • You can manually add the code tags: [COD3] and [/COD3] (just make the '3' and 'E')
    Or click the hashtag symbol '#' in the ribbon above the replay box to put the tags in for you. Then paste the information in between. You do have a limit to how many characters you can input at 1 time.
  • You must execute all of the features involved in the dimensions you want to collect data for. This includes any constructed features and datums as well. As an example, let's say I have 2 Auto Points on opposite sides of a 123 block. I construct a 2D line from the 2 hits on one side and a 2D line from 2 hits on the other side. Then I construct a 2D width feature from those 2 lines. And I have dimensions associated with the Width feature. In order for those dimensions to calculate correctly AND update, I would need to run those 4 points, then skip down to the 2D lines and execute those. Then go to the 2D width and execute it. Then go to the dimensions and execute those. The same goes for any feature involved in any and all of the dimensions you want to collect data for. If you want to efficiently execute only specific parts of a program, you should look into "Marked Sets"
  • Part name : P
    rev number : 000
    ser number :
    Stats count : 1

    startup =alignment/start,recall:use_part_setup,list=yes
    alignment/end
    mode/dcc
    format/text,options, ,headings,symbols, ;nom,tol,meas,dev,outtol, ,
    loadprobe/sta6
    tip/t1a90b180, shankijk=0, -1, 0, angle=180
    comment/oper,no,full screen=no,auto-continue=no,
    place probe in to insert flush with datum a face

    rd_pnt =feat/point,cartesian
    theo/<0,0,0>,<0,-1,0>
    actl/<9.9038,7.8419,-9.9413>,<0,-1,0>
    readpoint/

    rd_align =alignment/start,recall:startup,list=yes
    alignment/trans,xaxis,rd_pnt
    alignment/trans,yaxis,rd_pnt
    alignment/trans,zaxis,rd_pnt
    alignment/end
    clearp/yminus,-0.5,yplus,-0.5,on

    move/clearplane

    pnt2 =feat/contact/vector point/default,cartesian
    theo/<-0.0232,0.025,0.2487>,<0,-1,0>
    actl/<-0.0233,0.0124,0.2489>,<0,-1,0>
    targ/<-0.0232,0.025,0.2487>,<0,-1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    move/clearplane

    pnt3 =feat/contact/vector point/default,cartesian
    theo/<-0.3075,0.025,-0.2561>,<0,-1,0>
    actl/<-0.3076,0.0085,-0.2565>,<0,-1,0>
    targ/<-0.3075,0.025,-0.2561>,<0,-1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no
    move/clearplane
    pnt4 =feat/contact/vector point/default,cartesian
    theo/<0.2781,0.025,-0.3047>,<0,-1,0>
    actl/<0.2781,0.0086,-0.305>,<0,-1,0>
    targ/<0.2781,0.025,-0.3047>,<0,-1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    base_pln =feat/plane,cartesian,triangle,no
    theo/<-0.0175,0.025,-0.104>,<0,-1,0>
    actl/<-0.0176,0.0098,-0.1042>,<0.0006872,-0.9999736,0.0072362>
    constr/plane,bf,pnt2,pnt3,pnt4,,
    outlier_removal/off,3
    filter/off,wavelength=0

    move/clearplane

    cir1 =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<0,0.025,0>,<0,-1,0>,0.1562
    actl/<0.0044,0.025,-0.0014>,<0,-1,0>,0.1618
    targ/<0,0.025,0>,<0,-1,0>
    start ang=0,end ang=360
    angle vec=<1,0,0>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane

    lin1 =feat/line,cartesian,unbounded
    theo/<-3.4984,0.0764,-4.0027>,<-0.985468,0.1698611,0>
    actl/<-3.4569,-0.0122,-4.0029>,<0.0663562,0.997796,0>
    meas/line,2,zplus
    move/clearplane
    hit/basic,normal,<-3.4984,0.0764,-5.4028>,<-0.1698611,-0.985468,0>,<-3.4569,-0.0122,-5.4032>,use theo=yes
    hit/basic,normal,<-3.5028,0.0772,-2.6025>,<-0.1698611,-0.985468,0>,<-3.4549,0.0181,-2.6025>,use theo=yes
    endmeas/

    basic_align=alignment/start,recall:startup,list=yes
    alignment/level,yminus,base_pln
    alignment/trans,yaxis,base_pln
    alignment/rotate,zplus,to,,about,yminus
    alignment/trans,xaxis,
    alignment/trans,zaxis,cir1
    alignment/trans,xaxis,cir1
    alignment/trans,yaxis,cir1
    alignment/trans,zaxis,cir1
    alignment/end

    move/clearplane

    pnt5 =feat/contact/vector point/default,cartesian
    theo/<-2.8352,0,-0.4316>,<0,-1,0>
    actl/<-2.8351,-0.0163,-0.431>,<0,-1,0>
    targ/<-2.8352,0,-0.4316>,<0,-1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    move/clearplane

    pnt6 =feat/contact/vector point/default,cartesian
    theo/<2.8834,0,-0.4175>,<0,-1,0>
    actl/<2.8835,-0.0168,-0.4168>,<0,-1,0>
    targ/<2.8834,0,-0.4175>,<0,-1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    move/clearplane

    pnt7 =feat/contact/vector point/default,cartesian
    theo/<3.261,0,-4.7813>,<0,-1,0>
    actl/<3.2612,0.0036,-4.781>,<0,-1,0>
    targ/<3.261,0,-4.7813>,<0,-1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    move/clearplane

    pnt8 =feat/contact/vector point/default,cartesian
    theo/<-1.4326,0,-7.5202>,<0,-1,0>
    actl/<-1.4325,0.0191,-7.5199>,<0,-1,0>
    targ/<-1.4326,0,-7.5202>,<0,-1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    move/clearplane

    pnt9 =feat/contact/vector point/default,cartesian
    theo/<-3.2715,0,-2.9161>,<0,-1,0>
    actl/<-3.2715,-0.005,-2.9154>,<0,-1,0>
    targ/<-3.2715,0,-2.9161>,<0,-1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    datum_a =feat/plane,cartesian,triangle,no
    theo/<-0.2789,0,-3.2134>,<0,-1,0>
    actl/<-0.2789,-0.0031,-3.2128>,<-0.0001104,-0.9999877,-0.0049553>
    constr/plane,bf,pnt5,pnt6,pnt7,pnt8,pnt9,,
    outlier_removal/off,3
    filter/off,wavelength=0

    move/clearplane

    cir2 =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<-2.813,0.875,-1.027>,<0,-1,0>,0.1562
    actl/<-2.8122,0.875,-1.0266>,<0,-1,0>,0.1615
    targ/<-2.813,0.875,-1.027>,<0,-1,0>
    start ang=0,end ang=360
    angle vec=<1,0,0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane

    cir3 =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<-3.5894,0,-1.527>,<0,-1,0>,0.1562
    actl/<-3.5862,0,-1.534>,<0,-1,0>,0.1612
    targ/<-3.5894,0,-1.527>,<0,-1,0>
    start ang=0,end ang=360
    angle vec=<1,0,0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane

    cir4 =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<-2.813,0.875,-3.715>,<0,-1,0>,0.1562
    actl/<-2.8068,0.875,-3.7161>,<0,-1,0>,0.1611
    targ/<-2.813,0.875,-3.715>,<0,-1,0>
    start ang=180,end ang=540
    angle vec=<1,0,0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane

    cir5 =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<-3.5894,0.015,-6.339>,<0,-1,0>,0.1562
    actl/<-3.5914,0.015,-6.3436>,<0,-1,0>,0.1608
    targ/<-3.5894,0.015,-6.339>,<0,-1,0>
    start ang=90,end ang=450
    angle vec=<1,0,0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane

    cir6 =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<0,0,-7.867>,<0,-1,0>,0.1562
    actl/<-0.0004,0,-7.8683>,<0,-1,0>,0.1623
    targ/<0,0,-7.867>,<0,-1,0>
    start ang=0,end ang=360
    angle vec=<1,0,0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane

    move/point,normal,<0.0311,-0.5010,-5.4713>
    move/point,normal,<3.5689,-0.3818,-5.4710>
    move/clearplane
    cir7 =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<3.5895,0,-6.339>,<0,-1,0>,0.1562
    actl/<3.5901,0,-6.3334>,<0,-1,0>,0.1611
    targ/<3.5895,0,-6.339>,<0,-1,0>
    start ang=0,end ang=360
    angle vec=<1,0,0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane

    cir8 =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<2.813,0.875,-3.715>,<0,-1,0>,0.1562
    actl/<2.81,0.875,-3.7079>,<0,-1,0>,0.1607
    targ/<2.813,0.875,-3.715>,<0,-1,0>
    start ang=0,end ang=360
    angle vec=<1,0,0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane

    cir9 =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<3.5895,0,-1.527>,<0,-1,0>,0.1562
    actl/<3.5929,0,-1.5243>,<0,-1,0>,0.1616
    targ/<3.5895,0,-1.527>,<0,-1,0>
    start ang=0,end ang=360
    angle vec=<1,0,0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane​

    cir10 =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<2.813,0.875,-1.027>,<0,-1,0>,0.1562
    actl/<2.8149,0.875,-1.0251>,<0,-1,0>,0.1603
    targ/<2.813,0.875,-1.027>,<0,-1,0>
    start ang=0,end ang=360
    angle vec=<1,0,0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane
    move/point,normal,<2.8098,-0.5498,4.3880>
    move/point,normal,<0.7596,23.0704,5.0000>
    tip/t1a90b0, shankijk=0.0021, 1, 0.0043, angle=180
    clearp/yminus,15,yplus,0,on
    move/clearplane

    pnt10 =feat/contact/vector point/default,cartesian
    theo/<-0.1356,14.215,-1.8405>,<0,1,0>
    actl/<-0.1361,14.1764,-1.8408>,<0,1,0>
    targ/<-0.1356,14.215,-1.8405>,<0,1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    move/clearplane

    pnt11 =feat/contact/vector point/default,cartesian
    theo/<0.6057,14.215,-2.8551>,<0,1,0>
    actl/<0.6056,14.186,-2.8554>,<0,1,0>
    targ/<0.6057,14.215,-2.8551>,<0,1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    move/clearplane


  • Pnt12 =feat/contact/vector point/default,cartesian
    theo/<-0.4981,14.215,-3.0181>,<0,1,0>
    actl/<-0.4985,14.1851,-3.0184>,<0,1,0>
    targ/<-0.4981,14.215,-3.0181>,<0,1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    pnt16 =feat/contact/vector point/default,cartesian
    theo/<0.6089,14.215,-2.1636>,<0,1,0>
    actl/<0.6089,14.1841,-2.1639>,<0,1,0>
    targ/<0.6089,14.215,-2.1636>,<0,1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    b_face =feat/plane,cartesian,triangle,no
    theo/<-0.0093,14.215,-2.5712>,<0,1,0>
    actl/<-0.0097,14.1825,-2.5715>,<-0.0019187,0.9999664,0.0079753>
    constr/plane,bf,pnt10,pnt11,pnt12,,
    outlier_removal/off,3
    filter/off,wavelength=0

    move/clearplane

    pln6 =feat/plane,cartesian,triangle,no
    theo/<0.1452,14.215,-2.4693>,<0,1,0>
    actl/<0.145,14.1829,-2.4696>,<-0.0036262,0.9999687,0.007035>
    constr/plane,bf,pnt10,pnt11,pnt12,pnt16,,
    outlier_removal/off,3
    filter/off,wavelength=0

    datum_b =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<0,14.215,-2.527>,<0,1,0>,1.28
    actl/<-0.0014,14.215,-2.4536>,<0,1,0>,1.2791
    targ/<0,14.215,-2.527>,<0,1,0>
    start ang=0,end ang=360
    angle vec=<-1,0,-0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane

    pnt13 =feat/contact/vector point/default,cartesian
    theo/<-0.0132,10.005,-5.154>,<0,1,0>
    actl/<-0.0134,10.001,-5.1544>,<0,1,0>
    targ/<-0.0132,10.005,-5.154>,<0,1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    move/clearplane

    pnt14 =feat/contact/vector point/default,cartesian
    theo/<0.2484,10.005,-5.4711>,<0,1,0>
    actl/<0.2482,10.0064,-5.4714>,<0,1,0>
    targ/<0.2484,10.005,-5.4711>,<0,1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    move/clearplane

    pnt15 =feat/contact/vector point/default,cartesian
    theo/<-0.215,10.005,-5.5485>,<0,1,0>
    actl/<-0.2152,10.0062,-5.549>,<0,1,0>
    targ/<-0.215,10.005,-5.5485>,<0,1,0>
    snap=no
    show feature parameters=no
    show contact parameters=yes
    avoidance move=no,distance=0
    show hits=no

    c_face =feat/plane,cartesian,triangle,no
    theo/<0.0067,10.005,-5.3912>,<0,1,0>
    actl/<0.0066,10.0045,-5.3916>,<-0.0029416,0.9998877,0.0146925>
    constr/plane,bf,pnt13,pnt14,pnt15,,
    outlier_removal/off,3
    filter/off,wavelength=0

    move/clearplane

    datum_c =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<0,10.005,-5.402>,<0,1,0>,0.385
    actl/<0.0018,10.005,-5.3425>,<0,1,0>,0.3855
    targ/<0,10.005,-5.402>,<0,1,0>
    start ang=0,end ang=360
    angle vec=<-1,0,-0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane

    move/point,normal,<-0.0109,14.9606,3.6555>
    loadprobe/sta 1
    tip/t1a0b0, shankijk=0, -0.0043, 1, angle=-0.1188
    clearp/zplus,0.5,zplus,0.5,on
    move/clearplane

    cir11 =feat/contact/circle/default,cartesian,in,least_sqr
    theo/<0,2.875,-0.2966>,<-0.000005,0,1>,3.5
    actl/<-0.0002,2.6665,-0.2932>,<-0.0000044,-0.0024784,0.9999969>,3.5
    targ/<0,2.875,-0.2966>,<-0.000005,0,1>
    start ang=0,end ang=360
    angle vec=<1,0,0.000005>
    direction=ccw
    show feature parameters=no
    show contact parameters=yes
    numhits=5,depth=0.075,pitch=0
    sample method=sample_feature
    sample feature=none
    avoidance move=no,distance=0
    find hole=disabled,onerror=no,read pos=no
    show hits=no

    move/clearplane
    move/point,normal,<-7.1863,16.8440,1.2759>​