HyperWorks Desktop

Library_GetLDBFile

Library_GetLDBFile

Previous topic Next topic No expanding text in this topic  

Library_GetLDBFile

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME


Library_GetLDBFile

 

 

SYNTAX


Library_GetLDBFile <library handle>

 

TYPE/CLASS


Library

 

DESCRIPTION


To get the LDB file path and name

library handle

Library handle used to get the path and name of the .ldb file.

Note:The .ldb file gives you the path where the library is located.

 

EXAMPLES


set altairHome [file dirname $::env(ALTAIR_LIB_MGR_PATH)]

set fileDefaultSettings  [file join "$altairHome" hw tcl hweDataMgr librarymanager.xml]

set settings [CreateDefaultSettings "$fileDefaultSettings"]

set director [new_DMDirector $settings {C:\Documents and Settings\username\.Altair\11.2\hwe\organize\master\master.db}

set liblist [LibraryList]

DMDirector_GetLibraries $director $liblist username ""

set lib [LibraryList_at $liblist 1]

set libpath [Library_GetLDBFile $lib]

 

ERRORS


 

SEE ALSO


LibraryList_at

new_DMDirector