🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

HyperMesh Scripts Integration

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi Can someone say whether HM Scripts can be integrated to Visual Studio .

 

Thanks. 

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Merula_20758"
    Altair Community Member
    Updated by Merula_20758

    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

    User: "tinh"
    Altair Community Member
    Updated by tinh

    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