Library_GetType
Get the type of library.
Syntax
Library_GetType <library handle>
Type/Class
Library
Description
- library handle
- Library handle you want to get name
- 0
- Unmanaged
- 1
- Managed
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 libtype [Library_GetType $lib]