INcModel::GetProcessManagerAsXML

Description

This function allows you to export all rows in the NC Process Manager to XML.

Requirements

Must not be in edit mode.

Syntax

Status = GetProcessManagerAsXML (iWithParameters, oXML);

Input: (bool ) iWithParameters

Include all grid parameters.

Output: (string )oXml

Text of XML

Return: (int) status

0 = Operation successful.
1 = Error – Not in idle mode.
2 = Error – Operation failure.

Changing parameter values in the NC Process Manager output XML file

  1. To export all the rows in the NC Process Manager to an XML file, call the INcModel::GetProcessManagerAsXML function.

  2. To change a parameter value in the XML file, call the INcModel::SetProcedureParameter function.

    This function allows you to change a value of one parameter in one NC Item.

    In the XML file, each parameter and each NC Item (for example, procedure, toolpath, stock, setup) has an ID. Update the relevant ID number value.

  3. To load all the rows in the NC Process Manager from the XML file, call the INcModel::SetProcessManagerFromXML function.

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.