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.
Application.AppendOutput(ByVal TabName As String, ByVal String As String)
A string representing the name of the tab that is to be added to the Output window.
A string representing the text to be added to the Output window.
This example appends text to the Output tab, and creates a new tab “My Tab” to which it also appends text.
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")