*CE_DetailSetString
Sets a string connector detail for a single connector.
Syntax
*CE_DetailSetString connector_id detail_name string_value reserved force_storage
Type
HyperMesh Tcl Modify
Description
Sets a string connector detail for a single connector.
Inputs
- connector_id
- The ID of connector to update.
- detail_name
- The name of the standard string detail, or user-defined string detail, to update.
Standard string details include:
- ce_collectorname
- The component name of the connector entity.
- ce_configname
- The FE config name of the realized connector.
- ce_connectivity
- The connector FE connectivity.
- independent
- FE connectivity
- dependent
- use_shell_node, etc...
- ce_fesolver
- The FE solver name.
- ce_fetypename
- The realized FE type name defined in the feconfig.cfg file.
- ce_fe_fileattribute_entids
- The entity IDs related to the file attribute option.
- entity_type ID_1 ID_2 ... (example: "materials 3 6 7")
- ce_fe_folderattribute_entids
- The entity IDs related to the folder attribute option.
- entity_type ID_1 ID_2 ... (example: "materials 3 6 7")
- ce_positionstring
- A list containing the entity type, followed by the entity IDs selected to create the connector.
- ce_propertyscript
- The user property script used for realization.
- ce_state
- The connector entity state.
- failed
- realized
- unrealized
- ce_style
- The connector style.
- app_mass
- area
- bolt
- seam
- spot
- ce_type
- The connector entity type based on its creation.
- area
- line
- node/point
- seam
- 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.
Examples
To set the user property script for connector
1:
*CE_DetailSetString 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
}