PrintProject Method (Application Object)

Scope: Schematic editor

Object: Application Object

Prerequisites: None

Prints an entire design, or a portion of a design from the top level down to the level specified.

Note:

This method results in an error if there are any open documents in the design when it is called.

Usage

Application.PrintProject(ByVal DesignName As String, ByVal LevelStrings As String, ByVal PrintSymbols As Boolean, ByVal ShowOrderDialog As Boolean, ByVal PPOFile As String)

Arguments

DesignName

Name of the schematic which is the top of the design.

LevelStrings

Level string(s) that specify the hierarchical level(s) at which to stop traversing into composites. For example, "STD VHDL" would stop at the primitive, STD, and VHDL levels of hierarchy.

PrintSymbols

If True, symbols will be printed in addition to schematics. If False, only schematics will be printed.

ShowOrderDialog

If True, a dialog box is displayed in which you specify which schematics to print, and the order in which they are printed. If False, the all schematics in the design (down to the specified level of hierarchy) are printed in the default order.

PPOFile

File specification of a Project Print Order file containing print order information. If specified as the empty string (""), a default order is used. A PPO file can be created by clicking Save in the Project Print Order dialog box. If ShowOrderDialog is True, this parameter determines the initial settings. If ShowOrderDialog is False, this parameter determines what gets printed. Example: "c:/projects/counter.ppo".

Examples

Print the project starting at "top", down to LEVEL=STD, without symbols, without a print order dialog, in the default order.

PrintProject "top", "STD", False, False, ""