elmundo777
Automotive
Hello all!
I want to write save the file program.
I have a question. For example there is a form with a textbox and a button.
In CATIA in the macro I call .exe file with the form.
How to get the value of a variable from form in a CATIA macro and pass it?
Here I'm call .exe file with GUI in CATIA:
form="c:\test\main.exe"
Here I'm want to save file with new name:
cad.SaveAs(dlname & "\" & PartNumber & doctype)
In the screenshot i'm want to get a path from folderbrowserdialog to a variable or textbox. Than i'm want to get value of this variable in CATIA macro and than put to SaveAs(*).
Is it possible - get value of the variable from exe form to CATIA macro?
I want to write save the file program.
I have a question. For example there is a form with a textbox and a button.
In CATIA in the macro I call .exe file with the form.
How to get the value of a variable from form in a CATIA macro and pass it?
Here I'm call .exe file with GUI in CATIA:
form="c:\test\main.exe"
Here I'm want to save file with new name:
cad.SaveAs(dlname & "\" & PartNumber & doctype)
In the screenshot i'm want to get a path from folderbrowserdialog to a variable or textbox. Than i'm want to get value of this variable in CATIA macro and than put to SaveAs(*).
Is it possible - get value of the variable from exe form to CATIA macro?