TCL coding and surfaces selection
Dear all,
I am writing a TCL script to automaticaly mesh all the surfaces of a component on the same face.
For now, I am using :
*createmarkpanel surfaces 1 'Select all surfaces'
set surface_list [hm_getmark surfaces 1];
*interactiveremeshsurf ...
and when the panel opens, I have to select one surface, then use the option 'by face' or 'reverse' depending on the face I am selecting.
Is it possible to code the 'by face' or 'reverse' by only selecting one surface.
Thank you in advance,
Rohan
Answers
-
I found a way to select the 'reverse' surfaces.
*createmarkpanel surfaces 1 'Mesh Trabecular internal faces'set surface_list [hm_createmark surfaces 1 advanced 'by surface on mark' ];But I still can't find a way to select the 'by face'Thank you in advance.
0 -
*createmarkpanel surfaces 1 'select any one surfaces'*appendmark surfaces 1 'by face'you try this
0 -
All tcl commands of HyperMesh are written into a command file. These file is in the same directory you start HM from. Every action you do in the gui will be written in tcl form there. So you can easy find out which command you have to use.
0