PF_QueSort Function
Returns the sorting method set to the parts coordinates queue specified.
Syntax
PF_QueSort (part ID)
Parameters
- Part ID
Specify the part ID. (Use an integer from 1 to 32.)
Return values
Returns the sorting method set to the parts coordinates queue as an integer number.
| Value | Details |
|---|---|
| 0 | Do not sort (use the Parts Coordinates Queue registration order) |
| 1 | Sort in ascending order by the X coordinate |
| 2 | Sort in descending order by the X coordinate |
| 3 | Sort in ascending order by the Y coordinate |
| 4 | Sort in descending order by the Y coordinate |
| 5 | Sort in ascending order by the user data. |
| 6 | Sort in descending order by the user data. |
| 7 | Sort in ascending order by the part orientation. |
| 8 | Sort in descending order by the part orientation. |
Examples
Integer quesort
quesort = PF_QueSort(1)