hexagon logo

ask for help with "GetProbeOffsets"

How to use "GetProbeOffsets" ,who can help me with vb code?
Parents
  • @DJAMS:
    Set pd = pcd.ActivePartProgram.Probes(pcd.ActivePartProgram.CurrentProbeName).Tips("T1A0B0").XYZ

    "T1A0B0" is not active tip,could you tell how to get the active tip at currentcommand line like this ASSIGN/V1=PROBEDATA("OFFSET","") returns XYZ offsets for the active tip


    I looked around for an easy way to do that yesterday, but didn't find one.

    I can think of a couple of possibilities, neither of which is really simple.

    Perhaps if you could share what it is you are trying to accomplish (the end goal) - it would help us come up with the best solution.
Reply
  • @DJAMS:
    Set pd = pcd.ActivePartProgram.Probes(pcd.ActivePartProgram.CurrentProbeName).Tips("T1A0B0").XYZ

    "T1A0B0" is not active tip,could you tell how to get the active tip at currentcommand line like this ASSIGN/V1=PROBEDATA("OFFSET","") returns XYZ offsets for the active tip


    I looked around for an easy way to do that yesterday, but didn't find one.

    I can think of a couple of possibilities, neither of which is really simple.

    Perhaps if you could share what it is you are trying to accomplish (the end goal) - it would help us come up with the best solution.
Children
No Data