GetTopLevelDesignName Method (View Object)

Scope: Schematic editor

Object: View Object

Prerequisites: None

Returns the block name associated with the top level hierarchical design for this view.

Note:

While the ActivateView Event (Application Object) is being executed, this method may return the incorrect design name because the context has not been set at that point. Consider using ActivateView2 Event (Application Object) instead to avoid this problem.

Usage

View.GetTopLevelDesignName() As String

Arguments

None

Return Values

As String. A string containing the block name associated with the top level hierarchical design for this view.