*freeshapedesvarcreatewithsetoption

Creates a free shape design variable.

Syntax

*freeshapedesvarcreatewithsetoption mark_id name set_id

Type

HyperMesh Tcl Modify

Description

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

Inputs

mark_id
If nodes are used in creating 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 create.
set_id
If a nodal entity set is used in creating the free shape design variable, set_id is the ID of the entity set. If not required, set to 0.

Examples

To create a free shape design variable fsh1 comprising of nodes 1-100:
*createmark nodes 1 1-100
*freeshapedesvarcreatewithsetoption 1 "fsh1" 0
To create a free shape design variable fsh2 that uses a pre-existing nodal entity set with ID 5:
*freeshapedesvarcreatewithsetoption 0 "fsh2" 5

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