PreviousNext
Help > Programming PhotoModeler - Scripting/DDE Interface > Commands > GetNextPoint
GetNextPoint

Description:

Return a 3D Point in sequence. See ResetLists and SetIterationType.

Syntax:

"GetNextPoint"

Return:

"1 n p c x y z"

where:

n is the Point ID, p is the processed flag (1=point is processed, 0=point is approximated only), c is the control flag (1=point is a control point, 0=not a control), x is the X coordinate (in project units), y is the Y coordinate and z is the Z coordinate of the 3D point. "0" is returned if the command failed.

Failure returns

- incorrect number of parameters

- no project is open

- the end of the list has been reached

Example:

"ResetLists"

"GetNextPoint"

return "1 1 1 0 4.2 14.3 34.2"