All Cadcorp SIS API Methods

CanDoCommand Method

Description

The result depends on the type of the current window and the selection within the current SWD.

In Cadcorp SIS ActiveX Control, the current licence level is also checked.

Syntax

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

Parameters

comname
The command to check.

Return Type

True Delete the items after copying (i.e. Cut).
False Leave the existing items behind (i.e. Copy).

Remarks

Available D OD OM OU OV

Group:

Example

sis.CanDoCommand ("AComExtrude")

returns false if the licence level is Manager, true if the licence level is Modeller