ToolbarConf

<< Click to Display Table of Contents >>

Navigation:  Command Reference > List of Commands >

ToolbarConf

Allows making a toolbar or the whole ribbon tab invisible. When you enter the ToolbarConf command parameters, press Enter at each step to confirm each parameter.

Step1. Command: ToolbarConf

Step2. Enter page name: enter the tab name.

Step3. Enter toolbar name: enter the toolbar name; to hide the whole tab enter allpage.

Step4. Enter visible flag: enter 0 or False to hide a panel; enter 1 or True to show a panel.

E.g. to hide the CAD Image group, do the following:

Step1. Command: ToolbarConf

Step2. Enter page name: Viewer

Step3. Enter toolbar name: "CAD Image"

Step4. Enter visible flag: 0

Call of the command via XML API

To hide the CAD Image group, execute the following XML:

<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2">
 <command text="ToolbarConf Viewer &quot;CAD Image&quot; 0"/>    
</cadsofttools>    

To hide the Editor tab, do the following:

<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2">
 <command text="ToolbarConf Editor allpage False"/>
</cadsofttools>

Note: 1) tab and group names can be entered in the current interface or in English; 2) to enter the tab or group name containing spaces use quotes " ".

Go to CADEditorX