*CE_DetailSetDoubleByMark

Sets a double connector detail for a mark of connectors.

Syntax

*CE_DetailSetDoubleByMark mark_id detail_name double_value reserved force_storage

Type

HyperMesh Tcl Modify

Description

Sets a double connector detail for a mark of connectors.

Inputs

mark_id
The ID of mark containing the connectors to update. Valid values are 1 and 2.
detail_name
The name of the standard double detail, or user-defined double detail to update. See *CE_DetailSetDouble for valid details.
double_value
The double value to update for the detail.
reserved
Reserved for future use. Must be set to 0.
force_storage
0 - Do not store user-defined detail.
1 - Store user-defined detail.

Examples

To set the tolerance to 10.0 for connectors 1, 2 and 3:
*createmark connectors 1 1 2 3
*CE_DetailSetDoubleByMark 1 ce_tolerance 10.0 0 0
To set a user-defined double detail "test" to a value of 5.0 for connectors 2 and 3:
*createmark connectors 1 2 3
*CE_DetailSetDoubleByMark 1 "test" 5.0 0 1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}