SelectbyName Method (View Object)

Scope: Schematic editor

Object: View Object

Prerequisites: None

Selects an object by name.

Usage

View.SelectByName(ByVal Name As String) As Boolean

Arguments

Name

String to compare to the label on each object.

Return Values

As Boolean. The return type for this method. True - indicates that at least one object with a label matching Name was found. False - indicates that there were no objects found with a label matching Name.

Description

The method selects only those objects with labels that match the Name string and then places them on the selection list. The method flushes the existing selection list first.