XPS Unified Programmer’s Manual
7.2.1.123 MultipleAxesPTParametersGet
Name
MultipleAxesPTParametersGet – Gets PT trajectory parameters.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks group type (must be a MultipleAxes group): (-8)
- Checks group name: (-19)
- Checks current executing trajectory type (must be PT): (-22)
Description
This function returns the PT trajectory parameters (trajectory name and current
executing element number) of the current PT trajectory.
Prototype
int MultipleAxesPTParametersGet(
int SocketID,
char GroupName[250],
char * FileName,
int * CurrentElementNumber
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Group name.
Output parameters
FileName char * Currently executing trajectory file name.
CurrentElementNumber int * Currently executing element number.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
• -19: Group name doesn't exist or unknown command.
• -22: Not allowed action.
EDH0373En1023 — 01/18 188