HyperMesh Scripts Integration
Hi Can someone say whether HM Scripts can be integrated to Visual Studio .
Thanks.
Answers
-
Hi,
I do not know anything specific about the possibilities in Visual Studio with TCL Scripts, but you can do it like I use scripts in batch, if thats ok for you.
simply state something like:
String pathAltairHW = 'C:/Program Files/Altair/13.0/hm/bin/win64/hmopengl.exe'; Runtime.getRuntime().exec(pathAltairHW + ' -tcl ' +strProject +'/scripts/actualScript.tcl');
That code is written in java, but I think you can make a translation easy into C or whatever it is you are using.
Hope it helps,
Best regards,
Merula
0 -
Altair Forum User said:
Hi Can someone say whether HM Scripts can be integrated to Visual Studio .
Thanks.
Your question is not very clear.
if you want to invoke HM and run some scripts, do it like Merula guide
If you want to control it in vs, with tcl scripts, the interpreter is a C library provided all headers
with HM there are just some header files (ext_api, hmin,...), limited number of functions. looking for them in HM reference guide
0