|
INcModel::SetProcedureParameter
Description
This function allows you to change a value of one parameter in one NC Item.
Requirements
Procedure must be in edit mode.
Syntax
Status SetProcedureParameter ( iUid, iParamId, iValue, oNewValue);
Input: (int ) iUid |
Nc Item ID |
Input: (int ) iParamId |
ID of parameter |
Input: (Variant ) iValue |
Value to be set |
Input: (Variant ) oNewValue |
New Value |
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.
|