hm_getthickness
Returns the thickness of the specified component, element or property.
Syntax
hm_getthickness entity_type entity_id ?ply_id?
Type
HyperMesh Tcl Query Command
Description
This command returns the thickness value for an entity.
Inputs
- entity_type
- The type of entity to query. Valid values are comps, elems and props.
- entity_id
- The ID of the entity to query.
- ply_id
- Optional argument that allows for additional control for querying the thickness of individual plies of composites.
Examples
Get the thickness value of component 11 which has a PSHELL property with thickness of
        0.25:
      hm_getthickness comps 11
	0.25
hm_getthickness comps 11 1
	0.25
hm_getthickness comps 11 2
	2 is not a valid ply ID.Get the thickness value of component 15 which has a PCOMP property with 4 plys (thickness
        values of 0.1, 0.25, 0.25, 0.1, total of 0.7):
      hm_getthickness comps 15
	0.7
hm_getthickness comps 15 1
	0.1
hm_getthickness comps 15 2
	0.25
hm_getthickness comps 15 3
	0.25
hm_getthickness comps 15 4
	0.1
hm_getthickness comps 15 5
	5 is not a valid ply ID.Get the thickness value of element 20 which has a PSHELL property with thickness of
        0.25:
      hm_getthickness elems 20
	0.25Get the thickness value of element 20 which does not have a property assigned but belongs
        to a component that has a PSHELL property with thickness of
        0.25:
      hm_getthickness elems 20
	0.25Get the thickness value of element 20 which does not have a property assigned and belongs
        to a component that does not have a property
        assigned:
    hm_getthickness elems 20
	""Errors
Incorrect usage results in a Tcl error. To detect
        errors, you can use the catch
        command:
    if { [ catch {command_name...} ] } {
   # Handle error
}Version History
9.0