WorkSpaceList_size
Returns workspace list size.
Syntax
WorkSpaceList_size <workspace list handle>
Type/Class
WorkSpace
Description
- workspace list handle
- Workspace list handle
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.1\hwe\organize\master\master.db}
set liblist [LibraryList]
DMDirector_GetLibraries $director $ liblist username ""
set wslist [WorkSpaceList]
DMDirector_GetWorkspaces $director $wslist username
set wssize [WorkSpaceList_size $wslist]