*beamsectionsetdataroot
Updates the root data for a beam section.
Syntax
*beamsectionsetdataroot beam_sect_id collector_id solver beam_config line_color fill_color flags torsion_factor warping_factor orient_vector1 orient_vector2 orient_origin1 orient_origin2
Type
HyperMesh Tcl Modify Command
Description
Updating a beam section requires two commands, of which this is the first. This command updates the root data for a beam section and will also clear all other beam section data. Thus, this command should be followed by *beamsectionsetdatastandard, *beamsectionsetdatashell, *beamsectionsetdatasolid, or *beamsectionsetdatageneric depending on the beam_config selected. Beam section data cannot be updated piecemeal with this command; all data must be known for the beam and sent in as arguments.
Inputs
- beam_sect_id
 - The ID of the beam section to update.
 - collector_id
 - The ID of the beam section collector to update.
 - solver
 - Integer indicating the solver the section is for. Valid values are:
 - beam_config
 - Basic configuration of the beam section. Valid values are:
 - line_color
 - Currently unused. Must be set to 7.
 - fill_color
 - Currently unused. Must be set to 1.
 - torsion_factor
 - Currently unused. Must be set to 1.
 - warping_factor
 - Currently unused. Must be set to 1.
 - flags
 - Currently unused. Must be set to 0.
 - orient_vector1
 - Currently unused. Must be set to 0.
 - orient_vector2
 - Currently unused. Must be set to 0.
 - orient_origin1
 - Currently unused. Must be set to 0.
 - orient_origin2
 - Currently unused. Must be set to 0.
 
Examples
*beamsectionsetdataroot 1 1 0 2 7 1 0 1.0 1.0 0 0 0 0*beamsectionsetdataroot 1 1 0 2 7 1 0 1.0 1.0 0 0 0 0
*createdoublearray 12 6 6 6 0.5 0.5 0.5 4 4 4 1 1 1
*beamsectionsetdatastandard 1 12 1 4 0 HMHatErrors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
11.0.120