hm_getsolidmappablestate

Returns the mappable state of the specified solid.

Syntax

hm_getsolidmappablestate solid_id

Type

HyperMesh Tcl Query Command

Description

Returns the mappable state of the specified solid. The following values can be returned:
  • -1 - Not evaluated for mappability
  • 0 - Unmappable
  • 1 - 1-direction mappable
  • 3 - 3-direction mappable

Inputs

solid_id
The ID of the solid geometry to query.

Example

To get the mappable state of solid 10:
hm_getsolidmappablestate 10

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

11.0.102