Create Dictonary of Nodes And their corrosponding Coordinates

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

Hi All,

 

I want to Create a dictionary of Node Ids And their corrosponding coordinates using tcl. How can i create it?

 

Regards,

Sanket

Tagged:

Answers

  • llyle_20499
    llyle_20499 New Altair Community Member
    edited February 2019

    Hi Sanket,

     

    try,

     

     foreach node $lst_nodes { dict set mydict $node [join [hm_nodevalue $node]] }

     

  • sanket_patil
    sanket_patil Altair Community Member
    edited March 2019

    @Livil Lyle Thanks. It is working good

     

    Regards,

    Sanket