INcModel::SetProcessManagerFromXML

Description

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

Requirements

Must not be in edit mode.

Syntax

Status = SetProcessManagerFromXML (iXML);

Input: (string )iXml

Text of XML

Return: (int) status

0 = Operation successful.
1 = Error – String not valid.
2 = Error – Not in idle mode.
3 = 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.