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 David,
    there's nothing in the PCDMIS-object-library for "Transform CAD",
    but i'm actually working on a solution to fill the "Translate" and "Rotate Matrix"
    fields through a tool called AutoIt.
    Find attached what I've done so far.

    HTH



    Hi,
    I would worship you for that tool if that worked!
    I instantly dled it, trying to put it into action, but when I looked at the code I started wondering what language was it written in? Could you pls help me on that? I wasn't even familiar with the file extension.
    My automation would run from Excel, therefore I need to embed that code in some sort of VBA application.
    I would be really grateful for your support,
    many thanks
    Dv
Reply
  • Hi David,
    there's nothing in the PCDMIS-object-library for "Transform CAD",
    but i'm actually working on a solution to fill the "Translate" and "Rotate Matrix"
    fields through a tool called AutoIt.
    Find attached what I've done so far.

    HTH



    Hi,
    I would worship you for that tool if that worked!
    I instantly dled it, trying to put it into action, but when I looked at the code I started wondering what language was it written in? Could you pls help me on that? I wasn't even familiar with the file extension.
    My automation would run from Excel, therefore I need to embed that code in some sort of VBA application.
    I would be really grateful for your support,
    many thanks
    Dv
Children
No Data