Script how to re-mesh by face F12 [keybord sript]]
Stalewad
Altair Community Member
Answers
-
You have the file 'command.tcl' already!
0 -
as mentioned above, you could use the contents of command.tcl file as a very nice reference for your script.
Do one time the operation in HM manually and you will get the main commands/APIs. Use the non-interactive option in automesh.
Then after having the main commands adapt and check the HM Reference Guides (Help) for these commands
1. select a element
*createmark elems 1 some_number
or
*createmarkpanel elems 1 'select 1 element'
2. select elements by face
*appendmark (check the help)
3. mesh (quads)
run the commands based on the command.tcl for meshing with your options (quad only, element size,,,....)
0