WorkSpaceList_size
WorkSpaceList_size <workspace list handle>
WorkSpace
Returns workspace list size
workspace list handle
Workspace list handle. See WorkSpaceList.
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]