search for PARAM card

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi,

 

Using tcl, I want to find whether any PARAM card is already defined or not, and if found, edit it. Also similary if I want find any Load collectors or load steps already defined (by name), is there any way to do that ?

 

Thanks.

Tagged:

Answers

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited January 2016

    If you have access to altair script exchange kindly have aa look with param Keyword.Readily available macro would be available similar to your requirement.

    See attached screenshot.

     

    Regards

    Rahul R

    <?xml version="1.0" encoding="UTF-8"?>Param.JPG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2016

    Hi Rahul,

     

    Sorry but I dont have access to altair script exchange

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited January 2016

    See attached macro.

    The script is used to display PARAM cards activated in the deck before the deck is exporte (compatible with 11.0 version with Radioss bulk profile)

    You may get some useful information from attached macro.Requesting tcl experts to comment.

     

    Regards

    Rahul R

    Unable to find an attachment - read this blog

  • tinh
    tinh Altair Community Member
    edited January 2016

    Hi,

     

    Using tcl, I want to find whether any PARAM card is already defined or not, and if found, edit it. Also similary if I want find any Load collectors or load steps already defined (by name), is there any way to do that ?

     

    Thanks.

     

     

    Hi,

    using

    hm_entityinfo exist cards PARAM -byname

     

    please try with other entity types

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2016

     

     

    Hi,

    using

    hm_entityinfo exist cards PARAM -byname

     

    please try with other entity types

    Hi tinh,

     

    Thanks it worked.. BTW any command to get total number of load steps defined ? Like If I have 5 loadsetps, i want the count 5.

  • tinh
    tinh Altair Community Member
    edited January 2016

    Hi tinh,

     

    Thanks it worked.. BTW any command to get total number of load steps defined ? Like If I have 5 loadsetps, i want the count 5.

     

    Hi,

    using hm_count

    please search in help for arguments of this command