Vectors and Planes
At times, it is necessary to define a vector or plane for a command. HyperWorks Desktop allocates two vectors and two planes with the IDs 1 and 2. The vectors and planes can be defined at any time during the processing of a command file or Tcl script.
*createvector 1 1.0 0.0 0.0
*createmark nodes 1 10
*translatemark nodes 1 1 5.0
In this case, vector 1 is loaded with the components (1.0,0.0,0.0) that define the global x-axis. Node mark 1 is populated with node 10. These are then passed to the *translatemark command to perform the action.
*createplane 1 1.0 0.0 0.0 5.0 0.0 0.0
*createmark elems 1 displayed
*reflectmark elems 1 1