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

Description:

Assign a control point to a point in the project.  See Control Imports for information on control points

Syntax:

"AssignControl pointID importName controlPointName"

where:

pointID is a unique identifier number for the point to which the control point will be assigned (>=1),

“importName” is the name of the imported control item that contains the control point, " controlPointName" is the name of the control point to be assigned.

Return:

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

Failure returns

- insufficient number of parameters

Example:

"AssignControl 1 myControl Pt1"

return: "1"