HyperWorks Desktop

Library_GetType

Library_GetType

Previous topic Next topic No expanding text in this topic  

Library_GetType

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

NAME


Library_GetType

 

 

SYNTAX


Library_GetType <library handle>

 

TYPE/CLASS


Library

 

DESCRIPTION


To get the type of library, managed or unmanaged. Returns 0 or 1

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]

 

ERRORS


 

SEE ALSO


LibraryList_at

new_DMDirector