GetLibraryDirectory
Get
the path to the SysLib
directory.
| UI Access | NA | ||||||
| Parameters |
|
||||||
| Return Value |
String The path to the SysLib directory. |
| Python Syntax | GetLibraryDirectory() |
| Python Example |
|
| VB Syntax | GetLibraryDirectory |
| VB Example |
|
VB Example:
------------------------------------------------------
message box returns the path in this example
------------------------------------------------------
Dim oAnsoftApp
Dim oDesktop
Dim oProject
Dim oDesign
Dim oEditor
Dim oModule
Set oAnsoftApp = CreateObject("Ansoft.ElectronicsDesktop")
Set oDesktop = oAnsoftApp.GetAppDesktop()
oDesktop.RestoreWindow
libdir = oDesktop.GetLibraryDirectory
msgbox(oDesktop.GetLibraryDirectory())