Your Products have been synced, click here to refresh
This should allow us to access the properties from the GetProbeOffsets, but everytime I run this, it crashes PC-DMIS.
[SIZE=2][FONT=courier new][COLOR=#000000]Sub Main()[/COLOR] [COLOR=#000000] Dim pcd As Application[/COLOR] [COLOR=#000000] Dim pd As PointData[/COLOR] [COLOR=#000000] Set pcd = CreateObject("PCDLRN.Application", "")[/COLOR] [COLOR=#000000] Set pd = CreateObject("PCDLRN.PointData", "")[/COLOR] [COLOR=#000000] Set pd = pcd.ActivePartProgram.Probes(pcd.ActivePartProgram.CurrentProbeName).Tips("T1A0B0").XYZ[/COLOR] [COLOR=#000000] MsgBox (pd.X & "," & pd.Y & "," & pd.Z)[/COLOR] [/FONT][/SIZE][FONT=Arial][SIZE=3][COLOR=#000000][SIZE=2][FONT=courier new]End Sub[/FONT][/SIZE] [/COLOR][/SIZE][/FONT]
This should allow us to access the properties from the GetProbeOffsets, but everytime I run this, it crashes PC-DMIS.
[SIZE=2][FONT=courier new][COLOR=#000000]Sub Main()[/COLOR] [COLOR=#000000] Dim pcd As Application[/COLOR] [COLOR=#000000] Dim pd As PointData[/COLOR] [COLOR=#000000] Set pcd = CreateObject("PCDLRN.Application", "")[/COLOR] [COLOR=#000000] Set pd = CreateObject("PCDLRN.PointData", "")[/COLOR] [COLOR=#000000] Set pd = pcd.ActivePartProgram.Probes(pcd.ActivePartProgram.CurrentProbeName).Tips("T1A0B0").XYZ[/COLOR] [COLOR=#000000] MsgBox (pd.X & "," & pd.Y & "," & pd.Z)[/COLOR] [/FONT][/SIZE][FONT=Arial][SIZE=3][COLOR=#000000][SIZE=2][FONT=courier new]End Sub[/FONT][/SIZE] [/COLOR][/SIZE][/FONT]
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |