*freeshapesideconstraintsbarrierupdatebyblocks
Updates the side constraints of a free shape design variable using blocks and also updates the ID of the component specified as the barrier.
Syntax
*freeshapesideconstraintsbarrierupdatebyblocks mark_id name comp_id
Type
HyperMesh Tcl Modify
Description
This command updates the side constraint bounds of a free shape design variable automatically by using the selected blocks. If any of the bounds need to be blank, use the command *freeshapesideconstraintsbarrierupdatemanual.
Inputs
- mark_id
- The mark ID containing blocks. Valid values are 1 and 2.
- name
- Name of the free shape design variable.
- comp_id
- The barrier ID, consisting of shell elements.
Example
To use block IDs 1 and 2 to update the side constraints of free shape design variable fsh1
and barrier component ID
10:
*createmark blocks 1 1 2
*freeshapesideconstraintsbarrierupdatebyblocks 1 "fsh1" 10
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
9.0