Opens a schematic given its file system path. The return value may be used with a number of other functions and commands. This function does not display the schematic.
The function GetSchematicTabs returns the IDs for all currently displayed schematics.
Number | Type | Compulsory | Default | Description |
---|---|---|---|---|
1 |
string |
Yes |
|
File path |
File system path to schematic file. The schematic does not need to be currently displayed
Return type: real
Returns an integer ID that can be used for a wide range of functions that return information about a schematic. It may also be used by some commands. If the schematic cannot be opened for any reason, the function returns -1.
|