*nonstructuralmassupdate
Updates a group with non-structural mass configuration.
Syntax
*nonstructuralmassupdate name color type mass entity_type mark_id
Type
HyperMesh Tcl Modify
Description
Updates a group with non-structural mass configuration.
Inputs
- name
- The name of the non-structural mass group to update.
- color
- The color of the non-structural mass group. Valid values are 1-64.
- type
- The solver type of the non-structural mass group.
- mass
- The value of the non-structural mass.
- entity_type
- The type of entity for which the non-structural mass should be added. Valid values are elements and properties.
- mark_id
- The ID of the mark containing the entities to apply the mass. Valid values are 1 and 2.
Examples
To update a non-structural mass named nsm1 of type 1 (NSM1) for properties with IDs 1-4 with mass value 2.4:
*createmark props 1 1 2 3 4
*nonstructuralmassupdate "nsm1" 8 1 2.4 props 1
To update a non-structural mass named nsml1 of type 2 (NSML1) for elements with IDs 10, 20, 30 and 40 with mass value 3.5:
*createmark elements 1 10 20 30 40
*nonstructuralmassupdate "nsml1" 8 2 3.5 elems 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
11.0