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

Description:

Return the 3D position of a point with a specified Point ID.

Syntax:

"GetPoint n"

where:

n is the Point ID of the desired point.

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

- 'n' does not correspond to an existing point

- the point has no 3D position.

Example:

"GetPoint 5"

return "1 5 1 0 34.2 534.3 244.2"