*nonstructuralmasscreateall
Creates a group with non-structural mass configuration for all properties of a specified card image.
Syntax
*nonstructuralmasscreateall name color type mass card_image
Type
HyperMesh Tcl Modify Command
Description
Creates a group with non-structural mass configuration for all properties of a specified card image.
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 through 64.
- type
- The solver type of the non-structural mass group.
- mass
- The value of the non-structural mass.
- card_image
- The card image of the properties to create the non-structural
mass for. Valid values are:
- ELEMENT
- PBAR
- PBARL
- PBEAM
- PBEAML
- PCOMP
- PROD
- PSHEAR
- PSHELL
- PTUBE
- PSHELL
Examples
To create a non-structural mass named nsm1 of type 1 (NSM1) for properties with PSHELL card image with mass value 2.4:
*nonstructuralmasscreateall "nsm1" 8 1 2.4 PSHELL
To create a non-structural mass named nsml1 of type 2 (NSML1) for properties with PBAR card image with mass value 3.5:
*nonstructuralmasscreateall "nsml1" 8 2 3.5 PBAR
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