*CE_FE_SetCommonDetails

Sets common parameters required to realize connectors as welds.

Syntax

*CE_FE_SetCommonDetails string_array number_of_strings reserved

Type

HyperMesh Tcl Modify

Description

Sets common parameters required to realize connectors as welds.

Using this command in scripts is not advised, unless absolutely necessary. Future support may change for this command.

The feconfig.cfg and DiameterMappingTable.txt files are the only parameters that this command still sets. The diameter can now be set on a per-connector basis with *CE_DetailSetDouble or *CE_DetailSetDoubleByMark. If the configuration type used in the feconfig.cfg file has a property script associated with it (in the *post line), then that property script is used during the connector realization. However, to set a property script on a connector that does not refer to a feconfig configuration type, use *CE_DetailSetString or *CE_DetailSetStringByMark.

Alternatively, all of these variables can be set in the *CE_FE_RealizeWithDetails command, which is generally the preferred option for most scripting needs.

Inputs

string_array
The ID of the string array that contains the input data. The string array is created using the *createstringarray command. This should always be set to 1.
number_of_strings
Integer indicating the size (number of strings) in the string array created using *createstringarray.
reserved
Reserved for future use. Must be set to 0.

Examples

Set the common parameters required for realizing connectors:
*createmark connectors 2 "all"
set path [file nativename [hm_info -appinfo HMBIN_DIR]]
*createstringarray 2 "$path/feconfig.cfg" "$path/DiameterMappingTable.txt"
*CE_FE_SetCommonDetails 1 2 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
}