hm_dlinkgetdesvarcoeffs

Returns the coefficient multipliers of a design variable link.

Syntax

hm_dlinkgetdesvarcoeffs dlink_name_or_id ?search_type?

Type

HyperMesh Tcl Query

Description

This command returns the coefficient multipliers for the independent design variables of a design variable link.

Inputs

dlink_name_or_id
The name or ID of the queried design variable link.
search_type
By default, HyperMesh searches for entities by name, and if the name is not found, it then searches by ID. This option allows you to specify how the search for an entity should be conducted. The two options are:
-byname: Search only by name.
-byid: Search only by ID.

Example

If a design variable link dlink_1 has 0.9 and 1.7 as the coefficient multipliers of its independent design variables, then the command:

hm_dlink_getdesvarcoeffs dlink_1 –byname

will return:

9.00000000000E-001 1.70000000000E+000

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