hexagon logo

How do you write back tips to a mirrored part program using VB.Net...

Hi All,

The lowdown:
Using PC-DMIS 2018R1 (Soon to be 2022.1)
Visual Studio 2019 (VB, not C#)
Dual Arm Bravo

We are mirroring programs via a VB application, but when you save out the mirrored part program it makes all tip angles A0B0. So, being the wise FOG here, I had the bright idea to extract all the tip angles prior to mirroring the part program and while doing so, mirroring said tips in a VB app. Then saving them to a text file with the format of T1A#B# with one tip per line. I did this with the idea of injecting them back into the mirrored part program. Unfortunately, I have been unsuccessful in doing so. I've perused the 2019 Object Library and have not found a method for doing this, I see things for reading/returning various parameters about probes/tips but nothing for writing them back to the probes/tips.

That is my dilemma at the moment. Hopefully someone has been down this path before and has a solution.

A bit of background here: Mirroring a part program is very easy on a single arm machine as there is only one probe and the mirroring of that probe is academic. But on a dual arm you are mirroring the probe across the XZ plane of the machine and the method Hexagon chose to do this is problematic. They chose the nearest qualified probe angle for the mirrored probe, if the nearest qualified probe is 45 degrees away on A and 90 degrees on B of the original probe that is the probe angle you get. You are stuck with this as there is no option to not mirror the probes, which would alleviate some of the problem...instead you get mangled mirrored probes.

Regards,
The FOG
Parents Reply Children
No Data