DMDirector_GetWorkSpaces
Get a handle on the workspaces for a specific username.
Syntax
DMDirector_GetWorkSpaces <DMDirectorHandle> <WorkSpaceList> <username>
Type/Class
DM Director
Description
Get a handle on the workspaces for a specific username.
- DMDirectorHandle
- DM Director Handle
- WorkSpaceList
- Handle on library list
- username
- Username
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]
DMDirector_GetLibraries $director $liblist username ""
set wslist [WorkSpaceList]
set wspaces [DMDirector_GetWorkSpaces $director $wslist username]