*solidmap_solids_set_mapface
Sets the surface shared by the 4 input points to the mapped type within a multiple-solid solidmap command block.
Syntax
*solidmap_solids_set_mapface point_id1 point_id2 point_id3 point_id4
Type
HyperMesh Tcl Modify
Description
This command is used to set the surface shared by the 4 input vertices to the mapped type with the input vertices as the corners. The 4 vertices must be distinct. If more than one surfaces share the 4 vertices, the resulting surface for type setting is random. The command has effect only for surfaces for which the mesh type is free to change (e.g. not an along face of a solid). This command can only be called between a *solidmap_solids_begin and *solidmap_solids_end command pair.
Inputs
- point_id1
- The ID of the first corner vertex.
- point_id2
- The ID of the second corner vertex.
- point_id3
- The ID of the third corner vertex.
- point_id4
- The ID of the fourth corner vertex.
Example
To mesh solids 32 and 41 with a default elem size of 2.0 except on the surface shared by points 10, 11, 12 and 13 which is to be of mapped type by these points:
*createmark solids 1 32 41
*solidmap_solid_begin 1 0 2.0
*solidmap_solids_set_mapface 10 11 12 13
*solidmap_solid_end
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10.0