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

Description:

Set the type of iteration done by GetNextPoint and GetNextCylinder. This call does an implicit "ResetLists".

Syntax:

"SetIterationType n"

where:

n = 0 to make iteration through all points or cylinders and n = 1 to make iteration through only those points or cylinders selected by PhotoModeler user.

Return:

"1" if successful, "0" if not successful.

Failure returns

- incorrect number of parameters

- no project is open

- 'n' not in valid range

Example:

"SetIteratorionType 1"

return: “1”