*morphcreatedomaindc
Creates a domain from the elements on the mark with various options.
Syntax
*morphcreatedomaindc elemtype elemmark type part rethand bydom bycomp
Type
HyperMesh Tcl Modify Command
Description
Creates a domain from the elements on the mark with various options.
Inputs
- elemtype
- ELEMS
- elemmark
- Element mark number
- type
- -1 - Autoupdate
- part
- 0 - Do not use partitioning
- rethand
- 0 - Do not retain handles
- bydom
- 0 - Do not divide selected elements by existing domain
- bycomp
- 0 - Do not divide selected elements by components
Example
*morphcreatedomaindc ELEMS 1 2 1 1 0 0
A new domain is created from the elements on the mark. The type specified notes which elements in the mark will be retained. If no elements of the correct type are on the mark, the command will exit. Elements from existing domains may be placed on the mark and will be removed from their former domain and placed in the new domain.
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}