Current Command Properties

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

For example when using a command such as 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 the commands, properties and values available to SIS_OT_COMMAND:


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).