How to assign all attributes to group if I have a dictionary of group name as key and  value as "Attributes list names and corresponding attribute values"

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

How to assign all attributes to group if I have a dictionary of group name as key and  value as 'Attributes list names and corresponding attribute values'?

@tinh

Answers

  • tinh
    tinh Altair Community Member
    edited October 2018

    Do you know how to assign 1 attrib value of 1 attrib name to 1 group?

  • Jouher_20929
    Jouher_20929 Altair Community Member
    edited October 2018

    Do you know how to assign 1 attrib value of 1 attrib name to 1 group?

    @tinh I dont know. Please help me. What is the code for it? I have group name and its id. Moreover i have attribute name and value retrived using hm_  commands.

  • Jouher_20929
    Jouher_20929 Altair Community Member
    edited October 2018

    Can anyone help me?

  • tinh
    tinh Altair Community Member
    edited October 2018

    Can you do it on hm GUI?

  • Jouher_20929
    Jouher_20929 Altair Community Member
    edited October 2018

    Can you do it on hm GUI?

    i can do manually by editing on entity browser. But how to assign using tcl if i have the above mentioned details.

  • Jouher_20929
    Jouher_20929 Altair Community Member
    edited October 2018

    Got it @tinh. I have used *setvalue commands. Thanks for your support. I always appreciate for your helping nature. Hope to be in touch.

  • tinh
    tinh Altair Community Member
    edited October 2018

    Ok. Every neccessary commands are from GUI interaction, just do it and view command.tcl

    Have a good job.