Category Feature element trees, Object ProElemtree

Function ProElemtreeWrite


Description
Writes the Element Tree in the specified file in XML format
Synopsis
#include <ProElement.h>
ProErrorProElemtreeWrite(
ProElement elemtree
/* (In)
root element of the element tree to be printed
*/
ProElemtreeFormat format
/* (In)
pass PRO_ELEMTREE_XML
*/
ProPath output_file
/* (In)
Full path to the output file, including extension.
*/
)
Returns
PRO_TK_NO_ERRORSuccessful in writing the element tree
PRO_TK_BAD_INPUTSInvalid inputs
PRO_TK_GENERAL_ERRORErrors in generating the output

Manual References:

  1. Element Trees: Principles of Feature Creation: Introduction to Feature Element Trees in XML
  2. Element Trees: Principles of Feature Creation: Introduction to Feature Element Trees in XML
  3. Element Trees: Principles of Feature Creation: Introduction to Feature Element Trees in XML
  4. Element Trees: Principles of Feature Creation: XML Representations for Common Elements
  5. Element Trees: Principles of Feature Creation: Tips for Recycling XML Output of Element Trees
  6. Production Applications: NC Process Manager: Example 2: To Highlight the Pre-requisites for the Selected Step in The Manufacturing Process Table
  7. Production Applications: NC Process Manager: Example 3: To Update Feed and Spindle Speed

Sample Code References:

  1. pt_mfg_proctable ( PTMfgProcTable.c )
  2. pt_mfg_proctable ( PTMfgProcTable.c )
  3. pt_mfg_proctable ( PTMfgProcTable.c )
  4. pt_userguide ( UgCreoSweepCreate.c )
  5. pt_userguide ( UgIntcollectionDraftCreate.c )
  6. pt_userguide ( UgOADraftCreate.c )
  7. pt_userguide ( UgXMLFeat.c )