*CE_BoltAutoCreateFromAttachments

Creates bolt connectors from attachments.

Syntax

*CE_BoltAutoCreateFromAttachments mark_id string_array number_of_strings

Type

HyperMesh Tcl Modify Command

Description

Creates bolt connectors from attachments.

Inputs

mark_id
Te ID of the mark of attachments to create bolt connectors from. Valid values are 1 and 2.
string_array
The ID of the array created using *createstringarray, which contains the additional input strings. Must be set to 1. Valid strings are:
ce_config_name=<name>
The name of the bolt config.
maxdiameter=<value>
The maximum hole diameter to find (default 25.0).
mindiameter=<value>
The minimum hole diameter to find (default 0.0).
only2layer=<value>
The number of attachments per bolt (default 0).
tolerance=<value>
The tolerance to use for attachment pair searches (default 50).
number_of_strings
The number of strings in string_array.

Examples

Create a bolt (general) connector from 2 attachments:

*createmark attachments 1 "attach_200_229" "attach_36_51"
*createstringarray 2 "tolerance=25" "ce_config_name=bolt (general)"
*CE_BoltAutoCreateFromAttachments 1 1 2

Errors

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

Version History

2020