INcModel::SetProcedureGeometry

Description

This function allows you to change a geometry list in a procedure.

Requirements

Nc Item must be in edit mode.

Syntax

Status SetProcedureGeometry ( iUid, iParamId, iList, iIsManual, oNewList);

Input: (int ) iUid

Nc Item ID

Input: (int ) iParamId

ID of parameter

Input: (vec<int> ) iList

List of IDs

Input: (bool ) iIsManual

Manual or Criteria

Output: (vec<int> ) oNewList

New IDs List

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 values not valid.
5 = Error – NC Item not in edit mode.
6 = Error – Operation failure.

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