*beamsectionsetdatageneric
Updates the data for a generic type beam section.
Syntax
*beamsectionsetdatageneric double_array number_of_doubles string_array number_of_strings beam_sect_id
Type
HyperMesh Tcl Modify
Description
Updating a generic beam section requires two commands of which this is the second. This command will update all data for a generic type beam section. The command *beamsectionsetdataroot should precede use of this command.
Beam section data cannot be updated piecemeal with this command; all data must be known for the beam and sent in as arguments.
Inputs
- double_array
- The ID of the double array that contains the additional input parameters. The double array is created using the *createdoublearray command. This should always be set to 1.
- number_of_doubles
- Integer indicating the size (number of doubles) of the double array created using *createdoublearray.
- string_array
- The ID of the string array that contains the additional input parameters. The string array is created using the *createstringarray command. This should always be set to 1.
- number_of_strings
- Integer indicating the size (number of strings) of the string array created using *createstringarray.
- beam_sect_id
- The ID of the shell or solid beam section to update.
Examples
*beamsectionsetdataroot 4 1 0 1 7 1 0 0 0 0 0 0 0
*createdoublearray 56 2 3 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
*createstringarray 56 "area" "centroid[0]" "centroid[1]" "coordExt[0]" "coordExt[1]" "coordExtP[0]" "coordExtP[1]" "Emt" "Pmt" "Icentroid[0]" "Icentroid[1]" "Icentroid[2]" "Iprincipal[0]" "Iprincipal[1]" "Iuser[0]" "Iuser[1]" "Iuser[2]" "J" "gamma" "radiusG" "S[0]" "S[1]" "shearCenter[0]" "shearCenter[1]" "shearCenterP[0]" "shearCenterP[1]" "ShearDeform[0]" "ShearDeform[1]" "ShearDeform[2]" "PrincipalShear[0]" "PrincipalShear[1]" "shearStiff[0]" "shearStiff[1]" "shearStiff[2]" "torsionCoeff[0]" "torsionCoeff[1]" "Z[0]" "Z[1]" "ZP[0]" "ZP[1]" "SP[0]" "SP[1]" "theta" "NumberOfCells" "Cell1" "Cell2" "Cell3" "Cell4" "Cell5" "Cell6" "Cell7" "Cell8" "Cell9" "Cell10" "Cell11" "Cell12"
*beamsectionsetdatageneric 1 56 1 56 4
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0.120