*swapcontactmainsecondary

Swaps the main and secondary entities of groups.

Syntax

*swapcontactmainsecondary mark_id

Type

HyperMesh Tcl Modify Command

Description

Swaps the main and secondary entities of groups.
Note:
  • In OptiStruct, if secondary is a set of nodes, on swapping it is converted to set of elements.

Inputs

mark_id
The ID of the mark containing the groups to update. Valid values are 1 and 2.

Example

Swap main and secondary entities of groups with IDs 1 and 2:

*createmark groups 1 1 2
*swapcontactmainsecondary 1

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

14.0.130