*CE_FE_AbsorbUsingControl

Absorbs certain FE information into connectors. Currently supported only for absorbing bolts.

Syntax

*CE_FE_AbsorbUsingControl create_flag control_name elem_filter elem_filter_size string_array number_of_strings constraints_mark_id

Type

HyperMesh Tcl Modify Command

Description

Absorbs certain FE information into connectors using control.

Inputs

create_flag
4 – Bolt connectors
control_name
The name of the connectorcontrol entity.
elem_filter
The flag indicating whether to use the displayed or selected elements:
0 - Displayed elements
1 - Selected elements. An integer array containing the element IDs must be created using the *createarray command.
elem_filter_size
The size of the elem_filter array created using *createarray.
string_array
The string array containing optional details for absorb.
Bolt connectors:
mcf=<file>
The file name for the main connection file.
org=<value>
0 - Use current component
1 - Move connectors to FE component
rul=<rule>
The re-connect rule. Valid values are "None", "Use id", “Use uid”, and "Use name".
link_type=<value>
The type of link to use to absorb. Available types are Component, Part, Property, Node, Element.
attach_link=<value>
0 - Do not use attachments as links
1 - Use attachments as links
apply_prop=<value>
0 - Do not apply property to connector
1 - Apply property to connector
number_of_strings
The size of the options string array.
constraints_mark_id
The ID of the mark containing constraints entity.

Examples

To absorb bolt connectors:
*createarray 1 0
*createstringarray 6 "mcf=" "rul=Use uid" "tol=20.000000" "attach_link=1" "org=1" "link_type=Part" "apply_prop=1"
*createmark constraints 1 all
*CE_FE_Absorb 4 "connectorcontrol1" 1 1 1 7 1

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

2024.1