hexagon logo

Need Help...Question

Question....


When Programming offline and doing AutoCircles, when I pick a feature, the hit values do not line up where they should on the CAD...This just started happening and I cannot figure out what changed....
Typically, when I pick a hole, my autocircle goes to one end of the hole or the other and I adjust the "Z" Value at the depth I want to Probe the hole....
Now, it's like there is an offset value somewhere and the points aren't lining up where the Graphical points show on the CAD.....does that make sense???....
SEE PICTURE ATTACHED....

Basically, the Graphical representation of the individual hits (CAD VIEW) do not line up with the proper depth....

any Ideas???


Thanks!!

Attached Files
Parents
  • You would need to code it yourself...

    Here's a snippet from

    Let's say your scan is named SCN1 and assuming all Z-values are positive:

    ASSIGN/V1="SCN1.HIT["+MAXINDEX(SCN1.HIT[1..SCN1.NUMHITS].Z)+"]"
    
    Then, using V1 should work :
    
    MY_Z =GENERIC/POINT,DEPENDENT,CARTESIAN,$
    NOM/XYZ,<V1.TX,V1.TY,V1.TZ>,$
    MEAS/XYZ,<V1.X,V1.Y,V1.Z>,$
    NOM/IJK,<V1.TI,V1.TJ,V1.TK>,$
    MEAS/IJK,<V1.I,V1.J,V1.K>​
    


    Doing it for the X-value is kind of the same, with the addition that you would need to consider X- and X+ when looking for the point closest to 0.
    The snippet for X below does not have this consideration.

    ASSIGN/V2="SCN1.HIT["+MAXINDEX(SCN1.HIT[1..SCN1.NUMHITS].X)+"]"
    
    Then, using V2 should work :
    
    MY_X =GENERIC/POINT,DEPENDENT,CARTESIAN,$
    NOM/XYZ,<V2.TX,V2.TY,V2.TZ>,$
    MEAS/XYZ,<V2.X,V2.Y,V2.Z>,$
    NOM/IJK,<V2.TI,V2.TJ,V2.TK>,$
    MEAS/IJK,<V2.I,V2.J,V2.K>​
    
Reply
  • You would need to code it yourself...

    Here's a snippet from

    Let's say your scan is named SCN1 and assuming all Z-values are positive:

    ASSIGN/V1="SCN1.HIT["+MAXINDEX(SCN1.HIT[1..SCN1.NUMHITS].Z)+"]"
    
    Then, using V1 should work :
    
    MY_Z =GENERIC/POINT,DEPENDENT,CARTESIAN,$
    NOM/XYZ,<V1.TX,V1.TY,V1.TZ>,$
    MEAS/XYZ,<V1.X,V1.Y,V1.Z>,$
    NOM/IJK,<V1.TI,V1.TJ,V1.TK>,$
    MEAS/IJK,<V1.I,V1.J,V1.K>​
    


    Doing it for the X-value is kind of the same, with the addition that you would need to consider X- and X+ when looking for the point closest to 0.
    The snippet for X below does not have this consideration.

    ASSIGN/V2="SCN1.HIT["+MAXINDEX(SCN1.HIT[1..SCN1.NUMHITS].X)+"]"
    
    Then, using V2 should work :
    
    MY_X =GENERIC/POINT,DEPENDENT,CARTESIAN,$
    NOM/XYZ,<V2.TX,V2.TY,V2.TZ>,$
    MEAS/XYZ,<V2.X,V2.Y,V2.Z>,$
    NOM/IJK,<V2.TI,V2.TJ,V2.TK>,$
    MEAS/IJK,<V2.I,V2.J,V2.K>​
    
Children