WorkSpace_GetWorkingDir
Get the path for the workspace.
Syntax
WorkSpace_ GetWorkingDir <workspace handle>
Type/Class
Workspace
Description
To get the path for the workspace.
- workspace handle
- Workspace handle used to get the folder path
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 repos [LibraryList]
DMDirector_GetRepositories $director $repos username ""
set wslist [WorkSpaceList]DMDirector_GetWorkspaces $director $wslist username
set ws [WorkSpaceList_at $wslist 0]
set wsusername [WorkSpace_GetWorkingDirName $ws]