hm_issurfacemappable
Checks whether the given surface can be mapped or not and returns the map shape and vertices of the shape.
Syntax
hm_issurfacemappable surface_id element_size
Type
HyperMesh Tcl Query Command
Description
Checks whether the given surface can be mapped or not and returns the map shape and vertices of the shape.
The output consists of an integer defining the map shape, and a list of vertices for map shapes other than circular.
0 - If the shape is not mappable
1 - If the map shape is triangular
2 - If the map shape is rectangular
3 - If the map shape is pentagonal
4 - If the map shape is circular
Inputs
- surface_id
- The ID of the surface to query.
- element_size
- The element size of interest for the surface.
Examples
To check if surface 1 is mappable with size 2.5:
hm_issurfacemappable 1 2.5
2 {10 13 12 11}
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2019