hexagon logo

CAD transform programmability

Dear Everyone!
I'm trying to write some sort of an automation that can determine the translation compensation of EDM electrodes. The compensation is the difference between the CAD model position and the actual machined electrode position (we are using EROWA fixtures for high precision repeatable positioning).
For this task I need to use the CAD transform window to reposition the electrode by some 0.1 mm-s after each measurement, but it's highly time consuming. Is there some way to:
1. call CAD transform actions via VBA or any other means?
2. translate measured features by a certain vector all at once?
Thanks for your help.
Dv
Parents
  • Hi,
    no, data-passing the direct way would not work (as far as i now),
    but here's what can be accomplished:
    1. i assume you have your "values" in the excel-sheet
    -> export/write that values with Excel-VBA to an external Textfile
    2. call with Excel-VBA your generated AutoIt-exefile (with the Shell-command in vba)
    3. the AutoIt-file then can gather the values from the textfile and send it
    to the transform-window

    Hope i was able to shed some light.
    Bye
Reply
  • Hi,
    no, data-passing the direct way would not work (as far as i now),
    but here's what can be accomplished:
    1. i assume you have your "values" in the excel-sheet
    -> export/write that values with Excel-VBA to an external Textfile
    2. call with Excel-VBA your generated AutoIt-exefile (with the Shell-command in vba)
    3. the AutoIt-file then can gather the values from the textfile and send it
    to the transform-window

    Hope i was able to shed some light.
    Bye
Children
No Data