*CE_DetailSetStringByMark

Sets a string connector detail for a mark of connectors.

Syntax

*CE_DetailSetStringByMark mark_id detail_name string_value reserved force_storage

Type

HyperMesh Tcl Modify

Description

Sets a string 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 string detail, or user-defined string detail, to update. See *CE_DetailSetString for valid details.
string_value
The string 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 user property script for connectors 1, 2, 3, and 4:
*createmark connectors 1 1 2 3 4
*CE_DetailSetStringByMark 1 ce_propertyscript "C:/temp/scripts/connectors/test.tcl" 0 0

Errors

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