INcModel::SetAutoDrillParameter

Description

This function allows you to change a value of one parameter in one Automated Drill procedure, in a specific row of a sequence.

Requirements

 

Syntax

Status = SetAutoDrillParameter (iUid, iName, iRow, iParamId, iValue, oNewValue);

Input: (int ) iUid

Nc Item ID

Input: (string) iName

Name of Group (without parenthesis and number)

Input: (int ) iRow

Row index in sequence –starts from 0

Input: (int ) iParamId

ID of parameter

Input: (int ) (Variant ) iValue

Value to be set

Output: (Variant ) oNewValue

New Value

Return: (int) status

0 = Operation successful.
1 = Error – Nc Item ID not valid.
2 = Error – Procedure is not in edit mode.
3 = Error – Parameter ID not valid.
4 = Error – Parameter value not valid.
5 = Error – Operation failure.

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