*CE_ConnectorTrimAdvanced

Trim/split the spot/seam connectors using nodes.

Syntax

*CE_ConnectorTrimAdvanced style mark_id node_mark_id tolerance snap mode1 mode2

Type

HyperMesh Tcl Modify Command

Description

This command is used to trim/split the spot/seam connectors using nodes.

Inputs

style
The style of connectors to edit. Valid values are area, seam and spot.
mark_id
The ID of the mark of connectors. Valid values are 1 and 2.
node_mark_id
The ID of the mark of nodes. Valid values are 1 and 2.
tolerance
The tolerance value used to snap the nodes to the point of spot connectors when snap is 1.
snap
0 - Do not snap nodes to spot connectors
1 - Snap nodes to spot connectors
mode1
0 - Split
1 - Trim
mode2
0 - None
1 - Create trim/split connector with location node entities
2 - Create trim/split connectors with location line entities

Examples

To split spot connector 101 using node 1001:
*createmark connectors 1 101
*createmark nodes 1 1001
*CE_ConnectorTrimAdvanced spot 1 1 0.5 1 0 0
To trim seam connector 102 using node 1002:
*createmark connectors 1 102
*createmark nodes 1 1002
*CE_ConnectorTrimAdvanced seam 1 1 0.5 1 1 0

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

2021