WorkSpaceList_at
Get a handle on the library at a specified index.
Syntax
WorkSpaceList _at <index>
Type/Class
WorkSpace
Description
- index
- Index value
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.0\hwe\organize\master\master.db}
set liblist [LibraryList]
set wslist [WorkSpaceList]
DMDirector_GetLibraries $director $liblist username ""
DMDirector_GetWorkspaces $director $wslist username
set ws [WorkSpaceList_at $wslist 0]