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

Description:

Set the inverse camera and processing type flags for a photo.

Syntax:

"SetPhotoProcessing ID in pr"

where:

ID is a unique identifier number for the photograph (>=1), "in" is the inverse camera flag and is a sum of 1=focal length solve, 2=principal point solve, and 4=format aspect solve (e.g. "7" would mean solve all parameters and "0" would mean solve none (the default)). "pr" is the processing type where 0=do not use, 1=use and adjust (default) and 2=use but don't adjust.

Return:

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

Failure returns

- insufficient number of parameters

- no project is open

- photo 'ID' does not exist in project

- 'in' or 'pr' have improper values

Example:

"SetPhotoProcessing 1 1 1"

return: "1"