hexagon logo

Programmatically add tips to the probes list...

Does anyone know how to programmatically add tips to the probes list? I have tried unsuccessfully, it appears to add the angles as I can see the Active Tip list flash (Green and red boxes in pic) but upon the completion of the VB app I look in the Active Tip list and none of the 'added' tips are there.

PCD 2018R1
VB.net 2019
Dual Arm Bravo

Here is the command I used to add the the tips...

PCDapp.ActivePartProgram.Probes.Item(1).Tips.Add(A_Ang, B_Ang)



I understand that ' Item(1)' is the first probe file in the directory of probe files and that it's 'one based', not 'zero based'...at least based on my experimentation.



Regards,
The FOG
Parents
  • Couldn't the Global Used within the Probe Utilities help with this? For example, the CMM's that use a Probe Changer I copy and paste all of the measurement routines that will be used on that particular CMM to a folder I created within the Hexagon folder. Then I will change the Set Search Path to that folder location for the Probe Directory. Then use the Global Used within the Probe Utilities to add the probe angles for each probe build in the probe rack. Once all of the probe angles are created, I have a script that is called from each measurement routine to save as the routine locally to a folder created by the script. Now I will use that folder to create all of the probe angles for the current measurement routines. The current measurement routines are the latest routines with the current template builds. When completed I will change the Set Search Path back to the required directories. For the Auto calibration routine, I use a routine template using trace fields to allow a user to add the probe builds names and number of probe racks. This allows one routine template to be used to create individual Auto Calibration routines for each CMM.
Reply
  • Couldn't the Global Used within the Probe Utilities help with this? For example, the CMM's that use a Probe Changer I copy and paste all of the measurement routines that will be used on that particular CMM to a folder I created within the Hexagon folder. Then I will change the Set Search Path to that folder location for the Probe Directory. Then use the Global Used within the Probe Utilities to add the probe angles for each probe build in the probe rack. Once all of the probe angles are created, I have a script that is called from each measurement routine to save as the routine locally to a folder created by the script. Now I will use that folder to create all of the probe angles for the current measurement routines. The current measurement routines are the latest routines with the current template builds. When completed I will change the Set Search Path back to the required directories. For the Auto calibration routine, I use a routine template using trace fields to allow a user to add the probe builds names and number of probe racks. This allows one routine template to be used to create individual Auto Calibration routines for each CMM.
Children
  • What lead me to this method was to find a method that can be scalable and try to limit the number of separate scripts and applications created. The one difficult part that I found was the limitation of building the Parameter sets using a star probe builds with multiple probe qualification tools. Especially for the 5-way star probe builds for Tip 5 with a rotational wrists head.