*nonstructuralmasscreate
Creates a group with non-structural mass configuration.
Syntax
*nonstructuralmasscreate name color type mass entity_type mark_id
Type
HyperMesh Tcl Modify Command
Description
Creates a group with non-structural mass configuration.
Inputs
- name
- The name of the non-structural mass group to create.
- 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 create 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
*nonstructuralmasscreate "nsm1" 8 1 2.4 props 1
To create 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
*nonstructuralmasscreate "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