TCL Querry temp node x y z

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

Hi,

 

probably this question is super simple but I spent 2 hours searching the whole tcl commands for an option to querry the coodinates of a node which I can not find. You know how to do this?

Thanks and best regards,

Merula

Answers

  • tinh
    tinh Altair Community Member
    edited February 2016

    Hi,

    normally I do it by:  foreach {x y z} [expr [hm_nodevalue $nodeid]] {}

    from higher tcl version:  lassign {*}[hm_nodevalue $nodeid] x y z

     

  • Merula_20758
    Merula_20758 Altair Community Member
    edited February 2016

    Thanks....worked like a charm.