TopBlock Property (View Object)

Scope: Schematic editor

Object: View Object

Access: Read-Only

Prerequisites: None

Returns the Block Object associated with the top level hierarchical design for this view.

Note:

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

Usage

View.TopBlock

Arguments

None

Return Values

IVdBlock. The Block Object associated with the top level hierarchical design for this view. Returns NULL if the view isn't a schematic, or if the top block isn't currently loaded in memory.