INcModel::SetItemFromXML

Description

This function allows you to load one NC Item from XML.

Requirements

Nc Item must be in edit mode.

Syntax

Status = SetItemFromXML (iUid, iXML);

Input: (int ) iUid

Nc Item ID

Input: (string )iXml

Text of XML

Return: (int) status

0 = Operation successful.
1 = Error – Nc Item ID not valid.
2 = Error – String not valid.
3 = Error – Nc Item not in edit mode.
4 = Error – Operation failure.

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