GetCommandStatus (read only)

  Command Reference > System Variables >

GetCommandStatus (read only)

Previous pageReturn to chapter overviewNext page

Type: Integer

Saved in: unsaved

Initial value: varies

(read only)


Checks the status of the toggle command and returns information about its state. Works only via XML API. Toggle commands for which the on/off mode is checked: BlackBackground, ArcsSplitted, Lineweight, FastEntitiesInput, PolyEntityInput, ShowScrollbar, Showwindow, ShowforModel, Showprintarea


The toggle command is on.


The toggle command is off.

Call of the variable via XML API

Example of the input XML:

<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2">
 <command text="GetCommandStatus BlackBackground"/>                        



<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<cadsofttools version="2.0">
   <Result Instruction="command">
     <Output Result="on"/>

Go to CADEditorX