/
setEditTool

setEditTool

Description

Sets the active editing tool type.

Here is a list of editing tools and their type numbers:

Editing toolType number
New point0
Linear1
Bell2
Flatten/Expand3
Offset4

Functional area

Interface

Command syntax

Syntax

setEditTool toolID

Arguments

NameTypeRequiredComments
toolIDintyesID of the Editing Tool to set active. See table above for valid values.

Flags

None

Return value

integer

Examples

// Get the current editing tool, and cycle to the next one. 
int $tool, $next;
 
// Get the current one.
$tool = `getEditTool`;
 
// Figure out the next one.
$next = $tool + 1;
if( $next > 4 )
{
    $next = 0;
}
setEditTool $next;

Additional information

Related commands

Related content


© Copyright Vicon Motion Systems. All rights reserved.

Vicon trademarks