*CE_DetailSetIntByMark

Sets an integer connector detail for a mark of connectors.

Syntax

*CE_DetailSetIntByMark mark_id detail_name integer_value reserved force_storage

Type

HyperMesh Tcl Modify Command

Description

Sets an integer 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 integer detail, or user-defined integer detail, to update. See *CE_DetailSetInt for valid details.
integer_value
The integer 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 thickness (number of layers) to 3 for connectors 1, 2 and 3:
*createmark connectors 1 1 2 3
*CE_DetailSetIntByMark 1 ce_layers 3 0 0
To set a user-defined integer detail "test" to a value of 5 for connectors 2 and 3:
*createmark connectors 1 2 3
*CE_DetailSetIntByMark 1 "test" 5 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
}