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

Description:

Return the next available PointMesh ID for PointMeshes. This command also increments PhotoModeler's internal next ID to avoid PointMesh ID overlap.

Syntax:

"GetNextPointMeshID"

Return:

"1 n" where n is the next PointMesh ID to be used with the CreatePointMesh command or "0" if this command failed.

Failure returns

- incorrect number of parameters

- no project is open.

Example:

"GetNextPointMeshID"

return "1 32"