CommandDisable Method (CommandsManager Object)

Scope: Schematic editor

Object: CommandsManager Object

Prerequisites: None

Temporarily disables a command line command.

Usage

CommandsManager.CommandDisable(ByVal CommandName As String) As Boolean

Arguments

CommandName

The name of the command to disable.

Return Values

As Boolean. True - the command has been disabled (success). False - the command could not be disabled (failure).

Description

The command remains disabled until it is named as the argument for the CommandEnable Method (CommandsManager Object).