Retrieve entities based on Solver Keyword

Saumya4Mishra
Saumya4Mishra Altair Community Member
edited October 2020 in Community Q&A

Hi,

 

I need a command which gets me all the entities having a particular Solver Keyword.

for e.g. from the snippet attached, how can I get all the sets with Solver keyword as '*SET_PART_LIST'

Kindly suggest.

 

Regards

Saumya

<?xml version="1.0" encoding="UTF-8"?>QueryAltairForum.PNG

Answers

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited April 2019

    All Solver keywords can be found easily within .... Solver's manual.

  • tinh
    tinh Altair Community Member
    edited April 2019

    Maybe, use *createmark with options 'by card image'  ?

  • Saumya4Mishra
    Saumya4Mishra Altair Community Member
    edited April 2019

    Hi tinh,

     

    Thanks for the reply, but there are multiple solver keywords for same card images depending on the options selected.

    I think there must be something to take it out, since solver browser segregates the entities based on solver keyword itself.

     

    Regards

    Saumya

     

  • tinh
    tinh Altair Community Member
    edited April 2019

    First createmark by card image,

    Then filter them by option

    Example

    *createmark sets 1 'by card image name' Part

    *createmark sets 2 'equal to value' \$LSD_TitleOpt 1

    *markintersection sets 1 sets 2

    puts [hm_getmark sets 1]

  • Saumya4Mishra
    Saumya4Mishra Altair Community Member
    edited April 2019

    Hi tinh,

     

    Thanks for the reply, This will work provided you know all the possible options for a particular card image which will change the solver keyword.

    I think I can work with it.

    Thanks

     

    Regards

    Saumya