Jump to content

gwjwin

Members
  • Content Count

    5
  • Joined

  • Last visited

About gwjwin

  • Rank
    Newbie

Recent Profile Visitors

1073 profile views
  1. I found the command in HELP DOC: <altair_home>/hw/bin/<platform>/hw.exe -clientconfig hwpost.dat -b -tcl example.tcl -b Used in conjunction with either the -tcl or -c options to enable batch mode. HyperWorks Desktop will exit immediately upon completion of the Tcl script or command file. -tcl <tcl_filename> Automatically run the specified Tcl script. Notice that there is a space between -tcl and the filename.
  2. Hi, I have a tcl script and the tcl is using Hyperworks(Hyperview) library, so I must run it with Hyperview. I check the help doc and found the following command to load tcl: <altair_home>/hw/bin/<platform>/hw.exe -clientconfig hwpost.dat -tcl example.tcl But I cannot pass an argument to the tcl. For example, I can run this tcl using: tclsh example.tcl arg1 arg2 ... The arguments arg1, arg2 will be passed to tcl script, Can I do this using hw.exe -tcl command? Thanks!
  3. Hi, I have a tcl script and the tcl is using Hyperview library, so I must run it with Hyperview. I want to run this script in another program, is there a way to start Hyperview and run tcl script using command line? And I also want to close the Hyperview when the script end. Thanks!
×
×
  • Create New...