CommandEnable Method (CommandsManager Object)

Scope: Schematic editor

Object: CommandsManager Object

Prerequisites: None

Enables a command line command.

Usage

CommandsManager.CommandEnable(ByVal CommandName As String) As Boolean

Arguments

CommandName

The name of the command to enable.

Return Values

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

Description

This method also works to enable commands that have been disabled by the CommandDisable Method (CommandsManager Object).