*morphconnstodoms

Creates general domains for selected connectors.

Syntax

*morphconnstodoms entity_type mark_id retain_handles create_type

Type

HyperMesh Tcl Modify Command

Description

This command will create a general domain for each of the connectors on the mark. Each general domain will contain all of the elements of the associated connector regardless of their type.

Inputs

entity_type
Valid value is connectors.
mark_id
Mark of connectors. Valid values are 1 and 2.
retain_handles
0 - Do not retain handles
1 - Retain handles
create_type
0 - Create as normal general domain
1 - Create as independent domain
2 - Create as slave domain
3 - Create as master domain
4 - Create as cluster domain
If 0 is specified, the domain is created as a general domain, which means that no handles will be created for it and it will not share the same behavior as any 1D domains in the model. If one of the other options is selected, the general domain will have handles created for it in the same way that handles are created for 1D domains of the selected type. The general domain will also have the same behavior as 1D domains of the selected type (independent, master, slave, cluster).

Example

To create cluster type domains for all connectors in the model:

*createmark connectors 1 "all"
*morphconnstodoms connectors 1 0 4

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