#137 Get thickness of the specified component, element, or property in tcl

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

hm_getthickness elems 20
0.25

Get 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.25

Get 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
""