*admasconnectivityupdatemultentselectwithvisnod
Updates mass elements. A visualization node is used when updating and the number of selected entities are greater than one.
Syntax
*admasconnectivityupdatemultentselectwithvisnod mass_elem_id entity_type mark_id additional_node_mark_id vis_node_id
Type
HyperMesh Tcl Modify
Description
Updates mass elements. A visualization node is used when updating and the number of selected entities are greater than one. This is because a set is automatically created from those entities and attached to the mass element.
Inputs
- mass_elem_id
- The ID of the mass element to update.
- entity_type
- The type of entity containing the nodes which the mass element will be updated with. Valid entity types are comps, mats, blocks, assems, props, sets and nodes.
- mark_id
- The ID of the mark containing the entity_type entities. Valid values are 1 and 2.
- additional_node_mark_id
- The ID of the mark containing any additional nodes. Valid values are 1 and 2.
- vis_node_id
- The ID of the visualization node.
Examples
To update mass element with ID 100, using components 1-3 and visualization node 50:
*createmark comps 1 1-3
*admasconnectivityupdatemultentselectwithvisnod 100 comps 1 0 50
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}