AppendOutput Method (Application Object)

Scope: Schematic editor

Object: Application Object

Prerequisites: None

Adds text to the specified tab of the Output window. If the tab does not already exist, the application creates it.

Usage

Application.AppendOutput(ByVal TabName As String, ByVal String As String)

Arguments

TabName

A string representing the name of the tab that is to be added to the Output window.

String

A string representing the text to be added to the Output window.

Examples

This example appends text to the Output tab, and creates a new tab “My Tab” to which it also appends text.

Note:

Mentor Graphics recommends that you use COM versioning syntax in script examples that use GetObject and CreateObject. Without COM versioning, the script will access the last installation to which the release switcher pointed.

Option Explicit 
Dim vdapp 
Set vdapp = GetObject (,"ViewDraw.Application") 
Call vdapp.AppendOutput("Output", "Appending Text to ""Output"" tab") 
Call vdapp.AppendOutput("My Tab", "Appending Text to ""My Tab"" tab")