Category Manufacturing, Object ProClcmd

Function ProClcmdElemAdd


Description
Adds the specified CL command element to the feature element tree.
Synopsis
#include <ProClcmdElem.h>
ProErrorProClcmdElemAdd(
ProElement feat_elem_tree
/* (In)
The element tree of the customized (build path) feature.
*/
ProElement ncl_cmd_elem
/* (In)
The CL command element to add.
*/
int index
/* (In)
The index in the CL command array at which to insert the new element. Set this to -1 to add the element to the end of the tree.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully added the element to the tree.
OtherThe function failed.

Sample Code References:

  1. pt_examples ( TestClCmd.c )