hm_morph_getinfo
Returns certain options/values from HyperMorph.
Syntax
hm_morph_getinfo option ?value1? ?value2?
Type
HyperMesh Tcl Query Command
Description
Returns certain options/values from HyperMorph.
Inputs
- option
 - There are different options available. Each requires its own format:
- domaincount
 - domain_type
- domain_type
 - The type of domain to count. Valid values are:
- 0 - All domains
 - 1 - 1D domains
 - 2 - 2D domains
 - 3 - 3D domains
 - 4 - Global domains
 - 5 - Edge domains
 - 7 - General domains
 
 - excludedelements list
 - Returns a list of all excluded element IDs.
 - excludedelements mark
 - mark_id
 - parameter
 - parameter_name
- parameter_name
 - The parameter to query. See the documentation for *morphupdateparameter and *morphupdateparameterstring for a list of supported values.
 
 - testlimits
 - elem_type test_id
 - undolist current
 - Returns the current position in the undo/redo list.
 - undolist maximum
 - Returns the length of the undo/redo list.
 
 
 
Examples
To obtain the status and limits for the quad element Jacobian test:
hm_morph_getinfo testlimits 1 6
      To get the number of 2D domains:
hm_morph_getinfo domaincount 2
      To get the facecolor setting:
hm_morph_getinfo parameter facecolor
    Errors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
14.0