*freeshapedesvarupdatewithsetoption

Updates a free shape design variable.

Syntax

*freeshapedesvarupdatewithsetoption mark_id name set_id

Type

HyperMesh Tcl Modify

Description

This command updates a free shape design variable that corresponds to a DSHAPE card. The design variable can be updated either by directly selecting nodes or by pointing to a nodal entity set.

Inputs

mark_id
If nodes are used in updating the design variable, this represents the mark ID containing those nodes. If set to 0, set_id will be used.
name
Name of the design variable to update.
set_id
If a nodal entity set is used in updating the free shape design variable, set_id is the ID of the entity set. If not required, set to 0.

Examples

To update free shape design variable fsh1 to use nodes 25 through 75:
*createmark nodes 1 25-75
*freeshapedesvarupdatewithsetoption 1 "fsh1" 0
To update free shape design variable fsh2 to use a pre-existing nodal entity set with ID 10:
*freeshapedesvarupdatewithsetoption 0 "fsh2" 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