hexagon logo

PC-DMIS 2014 + Leica TDRA6000 + VBA/Excel

Hello,
i have searched in the Forum for the functions i need, but didn't found anything that fits to my needs.

I tried out some code in VBA/Excel to get values of measured points in the partprogram and writes it into cells in my Excel-sheet. (The code runs through the whole partprogram and reads out every command) So far everything runs fine.

But now i need another functionality.

For example:
- switch Probe compensation on/off
- switch Point only mode on/off
- switch ATR on/off
- Take a Hit with the TDRA6000
- switch between measure mode (simple/average)
- paste the values of the last measured Point into Excel
- create constructions (for example a circle from the last 5 measured points)
- create dimensions (for example a distance between the last 2 measured points)

Is it possible to realise these functions with VBA/Excel and PCDLRN?

Thank you in advance!

misch
Parents
  • I don't remember how much information was available in the Help for 2014, but in 2017 there is a large chapter about the PC-DMIS Object Library,
    Help... -> Contents -> Available Help Systems -> PC-DMIS BASIC Language -> PC-DMIS 2017 R2 Object Library

    It's probably not complete, but you can get more ideas from browsing the pcdlrn.tlb type library (via Excel, for example).
Reply
  • I don't remember how much information was available in the Help for 2014, but in 2017 there is a large chapter about the PC-DMIS Object Library,
    Help... -> Contents -> Available Help Systems -> PC-DMIS BASIC Language -> PC-DMIS 2017 R2 Object Library

    It's probably not complete, but you can get more ideas from browsing the pcdlrn.tlb type library (via Excel, for example).
Children
No Data