Select faces in a TCL script
Altair Forum User
Altair Employee
Hi everybody,
I'm programming a macro which attempts to build a bearing. I try to drag some elements in TCL but don't know how. If i create faces and drag them in hypermesh and copy the command.cmf lines to the script, macro selects the ID faces. I can't do it in this way because if I change the geometry probably ID faces may change too.
Anyone know what to do? /emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20'>
0
Answers
-
Hi
hm always select faces by ID, so you must do by that way " data-emoticon="true" src="src" />/emoticons/default_angry.png' title=''>
just after create faces, get its ID by : set face_id [hm_latestentityid surfs 0]
0