*CE_ConnectorAreaTrim

Trim/split area connectors using nodes.

Syntax

*CE_ConnectorAreaTrim mark_id node_mark_id tolerance snap mode

Type

HyperMesh Tcl Modify

Description

Trim/split area connectors using nodes.

Inputs

mark_id
The ID of the mark containing the area connectors to trim. Valid values are 1 and 2..
node_mark_id
The ID of the mark containing the trim/split nodes. Valid values are 1 and 2..
tolerance
The tolerance value used to snap the nodes to the points of area connectors when snap is 1.
snap
0 - Do not snap nodes to area connectors.
1 - Snap nodes to area connectors.
mode
0 - Split area connectors.
1 - Trim area connectors.

Examples

To split area connector 101 using node 1001:
*createmark connectors 1 101
*createmark nodes 1 1001
*CE_ConnectorAreaTrim 1 1 0.5 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

13.0.110