*nonstructuralmassupdateall

Updates a group with non-structural mass configuration for all properties of a specified card image.

Syntax

*nonstructuralmassupdateall name color type mass card_image

Type

HyperMesh Tcl Modify Command

Description

Updates 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 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.
card_image
The card image of the properties to update the non-structural mass for. Valid values are:
  • ELEMENT
  • PBAR
  • PBARL
  • PBEAM
  • PBEAML
  • PCOMP
  • PROD
  • PSHEAR
  • PSHELL
  • PTUBE
  • PSHELL

Examples

To update a non-structural mass named nsm1 of type 1 (NSM1) for properties with PSHELL card image with mass value 2.4:

*nonstructuralmassupdateall "nsm1" 8 1 2.4 PSHELL

To update a non-structural mass named nsml1 from type 1 (NSM1) to type 2 (NSML1):

*nonstructuralmasscreateall "nsm1" 8 2 2.4 PSHELL

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