GetName Method (Component Object)

Scope: Schematic editor

Object: Component Object

Prerequisites: None

Returns the hierarchical path to the component.

Usage

Component.GetName(ByVal Flag As VdNameType) As String

Arguments

Flag

This argument determines whether the returned value is a fully qualified path or a short name. This is of the form VdNameType Enum.

Return Values

As String. A string containing the fully qualified path or short name.

If you have "pushed" down into the schematic which contains this component and the VdNameType Enum is FULL_PATH_NAME, then the fully qualified path (e.g. $1I1/$1I2) returns. Otherwise, the short name returns.