GetName Method (Block Object)

Scope: Schematic editor

Object: Block Object

Prerequisites: None

Returns the hierarchical path to the active view in the current block.

Usage

Block.GetName(ByVal Flag As VdNameType) As String

Arguments

Flag

Specifies the nature of the path that is returned by this method:

FULL_PATH_NAME — Returns full hierarchical path specification. The path you specify can use either component names (labels) or UIDs. For example, top_block\block1\block2.

SHORT_NAME — Name without the hierarchical path.

This is of the form VdNameType Enum.

Return Values

As String. A string containing the hierarchical path.