Hello.
I would select all elements in a part assembly to rotate it around a axis with a TCL script.
Currently a part of my script already works. I find all the parts and parts assembly in my highest part assembly with the following code.
set parts [hm_getvalue parts name="Joker Fluegel li Version1" dataname=childrenids]
To rotate the elements is also working with the following code.
*createmark elems 1 "by id" 1-100
*createplane 1 0 1 0 640 1120.41 710.132
*rotatemark modules 1 1 -90
My problem is currently to mark all the elements that are in the part assembly. Can you help me with the code to select all the elements from the parts.
Thank you.