ExecuteCommand Method (CommandsManager Object)

Scope: Schematic editor

Object: CommandsManager Object

Prerequisites: None

Executes a command line command.

Usage

CommandsManager.ExecuteCommand(ByVal CommandString As String) As Boolean

Arguments

CommandString

The command to be executed, including all arguments and other required data.

Return Values

As Boolean. True - The command was executed (success). False - The command could not be executed (failure).

Description

The Xpedition Designer command line provides a mechanism for you to specify commands by providing a string that represents a recognized Xpedition Designer command. This string must fully specify the command and provide all required data for that command.

Examples

In this example, the method invokes the “zselect” command.

ExecuteCommand "zselect"