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

On

The toggle command is on.

Off

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"/>                          
</cadsofttools  

 

Result:

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

Go to ABViewer