A program to recognize and reward our most engaged community members
Hi,
I am doing re-meshing of elements. steps followed are as below.
1. F12
2. select a element
3. select elements by face
4. mesh (quads)
5. return
I am looking for a script to do it. to save repetitive time.
You have the file 'command.tcl' already!
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,,,....)