OpenSymbol Method (SchematicSheetDocuments Collection)

Scope: Schematic editor - Embedded symbol editor (ESE)

Collection: SchematicSheetDocuments Collection

Prerequisites: None

Opens the symbol of a given name to edit.

Usage

SchematicSheetDocuments.OpenSymbol (sSymbolName As String, sSymbolExtension As String) As IVdSchematicSheetDocument

Arguments

sSymbolName

String. A string that contains the symbol name.

sSymbolExtension

String. A string that contains the symbol extension.

Return Values

IVdSchematicSheetDocument. A document that represents one sheet of a schematic.

Examples

Set app = CreateObject("Viewdraw.Application")
Scripting.AddTypeLibrary("Viewdraw.Application")
app.OpenProject("PROJECT_NAME.prj")
Set ese_test = app.SchematicSheetDocuments.OpenSymbol("my_loc_sym", "1")