Current Command Properties

Current command properties/mode can be altered using the SIS_OT_COMMAND object type.

For example when using a commands in SIS Desktop 9 (eg Polygon (Create > Simple ) (AComAreaEx), you can find out the properties that can be altered by issuing the command:

Dimproperties AsString = AxSisMap.GetStr(SIS_OT_COMMAND, 0, "_properties_edit$")

This returns a space-separated list of all valid command properties, thus you can alter the Construction mode from Simple to Trace by issuing the command:

AxSisMap.SetProperty(SIS_OT_COMMAND, 0, "_captureModeEx@", captureMode)

The following table shows commands, properties and values available to SIS_OT_COMMAND: