All Cadcorp SIS API Methods

SwitchCommand Method

Description

Queues a command which requires mouse input (a callback command) for the current window and return immediately.

The command will be started in the current window when Release has been called after which its progress may be monitored using triggers.

Syntax

Visual Basic
Public Function SwitchCommand( _
   ByVal comname As String _ 
) As Integer

Parameters

comname
The ACom command to queue.

Remarks

Available: D

Group:

Example

sis.SwitchCommand ("AComLineEx")

Queues the AComLineEx command (LineString [Create-Simple]).