hypermesh scripting - how to get loadcollector names

Andy@LamteqSolutions
Andy@LamteqSolutions Altair Community Member
edited October 2020 in Community Q&A

Hi all,

 

Am writing a script which builds a number of loadcollectors and loadsteps. What I would like is a script which interrogates the loadcollector, gets its name and then creates a loadstep with the same name. I can build the loadcollectors and the loadstep but I am missing the interrogation bit.

 

Cheers

Andy

Tagged:

Answers

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited August 2018

    If you have already loadcollector ID you can get the name by following command:

      set loadcolname [hm_getvalue loadcols id=$id dataname=name]

     

  • Andy@LamteqSolutions
    Andy@LamteqSolutions Altair Community Member
    edited August 2018

    Perfect, many thanks