*CE_ConnectorSpotTrim

Trims/splits spot line connectors using nodes.

Syntax

*CE_ConnectorSpotTrim mark_id node_mark_id tolerance snap mode

Type

HyperMesh Tcl Modify Command

Description

Trims/splits spot line connectors using nodes.

Inputs

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
mode
0 - Split
1 - Trim

Examples

To split spot connector 101 using node 1001:

*createmark connectors 1 101
*createmark nodes 1 1001
*CE_ConnectorSpotTrim 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

2021