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
PRO_TK_NO_PERMISSIONThe function does not have permission to operate on this model.

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. Technical Summary of Changes for Creo 11.0.0.0: Updates to Error Types

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 )