*beamsectionupdateparts
Updates the beam section by modifying the section parts.
Syntax
*beamsectionupdateparts <option1>=<value1> <option2>=<value2> ... <optionN>=<valueN>
Type
HyperMesh Tcl Modify Command
Description
Updates the beam sections by modifying section parts with operations like split, merge, convert and delete. After completing each operation, beam section properties will be recalculated.
Inputs
- operationtype
- Type of the operation to be performed on beam section parts. Valid values are:
- beamsectionid
- The ID of the beam section.
- sourceparttype
- The type of beam section part used as source. Valid values are shell and solid.
- partnames
- The names of the beam section parts on which to perform the operation.
- targetparttype
- The type of beam section part used as target. Target part type is required only for operationtype set to convert. If the source part type is shell, the target part type should be solid. If the source part type is solid, the target part type should be shell.
Examples
To update the beam section with
split:
*beamsectionupdateparts operationtype=split beamsectionid=14 sourceparttype=shell "partnames={{PSHELL_2000120} {PSHELL_2000121}}"
To update beam section with
merge:
*beamsectionupdateparts operationtype=merge beamsectionid=14 sourceparttype=shell "partnames={{PSHELL_2000120.4} {PSHELL_2000120.3} {PSHELL_2000120.2} {PSHELL_2000120.1}}"
To update beam section with
convert:
*beamsectionupdateparts operationtype=convert beamsectionid=14 sourceparttype=shell "partnames={{PSHELL_2000120.4} {PSHELL_2000120.3}}" targetparttype=solid
To update beam section with
delete:
*beamsectionupdateparts operationtype=delete beamsectionid=14 sourceparttype=shell "partnames={{PSHELL_2000120.4} {PSHELL_2000120.3}}"
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
2025