hexagon logo

Surface Normal Deviation of points in FCF

ok, so here's what i'm trying to do...

i have a profile,

i would like the the surface normal deviation of the points in a table like this


t1 t2 t3 t4
t5 t6 t7 t8

instead of the long table of xyz ijk

i need it from the fcf b/c of the best fitting that has been done

i had tried
ASSIGN/V2 = DOT(SCN1.HIT[1].XYZ-SCN1.HIT[1].TXYZ,SCN1.HIT[1].IJK)


but this doesn't match the fcf deviations as they have been best fit


any ideas?

thanks

-cappy
Parents
  • I'm using the basic script editor. And the error occurs at d=dcmd.GetProfilePointInfos(). I might try doing it in c# on Monday...


    That's the problem. I have encountered this in the past. Cypress enable scripting does not work with functions that return variable size arrays. Wonder why they would create a function with a return value that is incompatible with pc-dmis' own scripting language?

    Strange thing is, the help file for GetProfilePointInfos() says it returns variant type, but when I declared d() as variant, I got a type mismatch error. Confused
Reply
  • I'm using the basic script editor. And the error occurs at d=dcmd.GetProfilePointInfos(). I might try doing it in c# on Monday...


    That's the problem. I have encountered this in the past. Cypress enable scripting does not work with functions that return variable size arrays. Wonder why they would create a function with a return value that is incompatible with pc-dmis' own scripting language?

    Strange thing is, the help file for GetProfilePointInfos() says it returns variant type, but when I declared d() as variant, I got a type mismatch error. Confused
Children
No Data