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

Description:

Delete mark from a photo using its index on a photo.

Syntax:

"DeleteMarkedPointByIndex PhotoID Index"

where:

"PhotoID" is the ID of the photo on which the point is marked and Index ranges from 1 to the number of marked points on the photo (index is not the point ID).

Note: deleting a point by its index will ‘shuffle’ any points with a larger index down by one.

Return:

"1" if  successful or "0" if not.

Failure returns:

- No project open

- Photo ID doesn't exist

- There is no point at the index specified

Example:

"DeleteMarkedPointByIndex 4 25”

return: "1"