Interface INCT_ProgramManager2
interface to manage the NC programs.
Assembly: STNCInterpreter.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("5A4E596C-7D3D-4CD4-970A-C266EBAA1E47")]
public interface INCT_ProgramManager2 : INCT_ProgramManager
Properties
Count
Declaration
Property Value
Name[int]
Declaration
string Name[int Index] { get; }
Parameters
Type |
Name |
Description |
int |
Index |
|
Property Value
Methods
AddToOrderList(int)
Declaration
void AddToOrderList(int Index)
Parameters
Type |
Name |
Description |
int |
Index |
|
GetPartByIndex(int)
Declaration
INCT_Program GetPartByIndex(int Index)
Parameters
Type |
Name |
Description |
int |
Index |
|
Returns
GetPartByLabels(string, string)
Declaration
INCT_Program GetPartByLabels(string StartLabel, string StopLabel)
Parameters
Returns
GetPartByLabelsFromCurPos(string, string, TNCGetPartDirection)
Returns the program text (INCT_Program interface) between the specified StartLabel and StopLabel, searching from the current position in the program.
Declaration
INCT_Program GetPartByLabelsFromCurPos(string StartLabel, string StopLabel, TNCGetPartDirection Direction)
Parameters
Returns
GetPartByRegisters(INCT_Register, INCT_RegisterValues, INCT_Register, INCT_RegisterValues, TNCGetPartOrigin)
Returns the program text (INCT_Program interface) located between the specified start and stop registers along with their values, as provided in the input parameters.
Declaration
INCT_Program GetPartByRegisters(INCT_Register StartReg, INCT_RegisterValues StartValues, INCT_Register StopReg, INCT_RegisterValues StopValues, TNCGetPartOrigin Origin)
Parameters
Returns