|
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. |
Changing parameter values in the NC Process Manager output XML file
-
To export all the rows in the NC Process Manager to an XML file, call the INcModel::GetProcessManagerAsXML function.
-
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.
-
To load all the rows in the NC Process Manager from the XML file, call the INcModel::SetProcessManagerFromXML function.
|