Category Manufacturing, Object ProClcmd

Function ProClcmdElemSet


Description
Fills the specified CL command element with user data.
Synopsis
#include <ProClcmdElem.h>
ProErrorProClcmdElemSet(
ProElement ncl_commd_elem
/* (In)
The CL command element
*/
wchar_t** commd_lines
/* (In)
The array of command lines
*/
int num_lines
/* (In)
The number of command lines in the commd_lines array
*/
ProVector commd_loc
/* (In)
The XYZ coordinates of the CL command in the NC sequence coordinate system
*/
ProVector commd_axis
/* (In)
The tool axis in the location
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the information for the element.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.

Sample Code References:

  1. pt_examples ( TestClCmd.c )
  2. pt_examples ( TestClCmd.c )