"TCL" scripting for batchmesh
I am trying to perform a batchmesh operation using "TCL" script. I took the "TCL" from "command1.tcl" after performing the operation manually.
I got the below script
*startnotehistorystate {BatchMesh surfaces}
*createmark surfaces 1 "all"
*createstringarray 1 "breakconnectivity 0"
*hm_batchmesh2 surfaces 2 1 1 "dummy" "dummy"
*endnotehistorystate {BatchMesh surfaces}
But when I execute this I am getting an error. The code works when I change
*hm_batchmesh2 surfaces 2 1 1 "dummy" "dummy" to *hm_batchmesh2 surfaces 1 1 1 "dummy" "dummy"
Does this affect the overall quality of the mesh or Can I go ahead with the resultant mesh
Answers
-
It is interesting that the first one worked. The number you changed corresponds to the mark so it would need to be 1 to work with the code you show. (because the surfaces are on mark 1) So, no, that will not affect your mesh quality.
1