OpenBlocks Method (Application Object)

Scope: Schematic editor

Object: Application Object

Prerequisites: None

Returns a collection of Block objects.

Usage

Application.OpenBlocks(ByVal BlockType As VdDataType) As IVdObjs

Arguments

BlockType

Specifies if schematic or symbol blocks are desired. This argument is a VdDataType Enum.

Note:

The only valid values for this argument are VDDT_SCHEMATIC (numeric value 0) and VDDT_SYMBOL (numeric value 1).

Return Values

As IVdObjs. A collection of Block Objects. The returned collection contains one block for each schematic or symbol in the current design.