*admascreatemultentselectwithsets

Creates mass elements with the option to create the mass on the independent entities or to create a set out of those entities and attach the set to the element mass created.

Syntax

*admascreatemultentselectwithsets entity_type mark_id additional_node_mark_id vis_node_id type magnitude attach_sets_flag

Type

HyperMesh Tcl Modify Command

Description

Creates mass elements with the option to create the mass on the independent entities or to create a set out of those entities and attach the set to the element mass created.

Inputs

entity_type
The type of entity containing the nodes which the mass element will be created with. Valid entity types are comps, mats, blocks, assems, props, sets and nodes.
mark_id
The mark ID containing the entity_type entities. Valid values are 1 and 2.
additional_node_mark_id
The mark ID containing any additional nodes. Valid values are 1 and 2.
For now this option is ignored.
vis_node_id
The visualization node ID.
type
The mass solver type. This depends on the current template.
magnitude
The magnitude of the mass.
attach_sets_flag
Indicates whether to create the mass on the independent selected entities or to create a set out of those entities and create the mass on the set.
  • 0 - Do not create set.
  • 1 - Create set.

Examples

To create a mass element using components 1 through 3 as a set, visualization node 50, solver type 3 and magnitude of 5.5:

*createmark comps 1 1-3
*admascreatemultentselectwithsets comps 1 0 50 3 5.5 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}