*CE_ConnectorSetVectorById
Sets the projection vector for a connector specified by ID.
Syntax
*CE_ConnectorSetVectorById ce_id type i j k vector node1 node2
Type
HyperMesh Tcl Modify
Description
Sets the projection vector for a connector specified by ID.
Inputs
- ce_id
- The connector entity ID.
- type
- The method used to set the vector:
- 0 - Use i, j, and k values (see arguments below). These should be specified as the next 3 arguments to this command.
- 1- Requires a HyperMesh vector id (see vector below) from which the vector i, j, and k will be taken internally. The i, j, and k syntax arguments can be set as 0.
- 2 - Requires the two node id’s (node1 and node2 below) as the last two arguments to this command. These node ID’s will be required to create a vector, and assigned to the ce_id. The rest of the above arguments can be set as 0. These two nodes should not be coincident.
- i
- 1st of 3 float numbers defining a vector. Only applies when type is set to 0.
- j
- 2nd of 3 float numbers defining a vector. Only applies when type is set to 0.
- k
- 3rd of 3 float numbers defining a vector. Only applies when type is set to 0.
- vector
- HyperMesh Vector entity ID. Only applies when type is set to 1.
- node1
- 1st node ID to define a vector in HyperMesh. Only applies when type is set to 2.
- node2
- 2nd node ID to define a vector in HyperMesh. Only applies when type is set to 2.
Examples
To set a projection vector for connector 1 using vector
3:
*CE_ConnectorSetVectorById(1, 1, 0, 0, 0, 3, 0, 0)
The connector’s projection vector will be used during the realization process.