INcModel::CopyNcItem

Description

This function allows you to copy and paste one NC Item (including tp folder)

Requirements

Must not be in edit mode.

Syntax

Status = CopyNcItem (iUid, iAfterItem, oNewUid);

Input: (int ) iUid

ID of Nc Item to copy

Input: (int ) iAfterItem

Nc Item ID to paste after

Output: (int )oNewUid

ID of pasted NC Item

 

 

Return: (int) status

0 = Operation successful.
1 = Error – Nc Item ID not valid.
2 = Error – Not in idle mode.
3 = Error – Operation failure.

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