*CE_CreateNodeOnSpotConnector

Creates a node on a spot line connector at a given position.

Syntax

*CE_CreateNodeOnSpotConnector mark_id x y z

Type

HyperMesh Tcl Modify Command

Description

Creates a node on a spot line connector at a given position. This node can then be used to trim the spot line connector at that location. To create a node with a mouse click on a connector, the x, y, and z values should all be passed as -1.

Inputs

mark_id
The ID of the mark of spot line connectors to trim. Valid values are 1 and 2.
x
The x position on the spot line connector.
y
The y position on the spot line connector.
z
The z position on the spot line connector.

Examples

To create a temp node on spot line connector 101 at (100, 50, 50):
*createmark connectors 1 101
*CE_CreateNodeOnSpotConnector 1 100 50 50
To create a temp node on spot line connector 101 at a mouse click position:
*createmark connectors 1 101
*CE_CreateNodeOnSpotConnector 1 -1 -1 -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

2021