The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Help me to translate white circled node at an angle of 90 degree to other two nodes using tcl sript.
Actually my requirement is to translate black circled node to red position using tcl. but vector selection is a constraint.
1. create vector user end nodes : *vectorcreate_twonode node1 node2
2. get the normal of blue element : hm_getelementnormal
3. get cross product of the two : ::hwat::math::VectorCrossProduct
4 translate node : *translatemark