new_WorkSpace
new_WorkSpace <Workspace Name> <Path> <username>
Workspace
Creates a new workspace handle at the specified path under the specified username.
|
WorkSpace Name
Name of the workspace
Path
Path where you want to create a new workspace
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 repos [RepositoryList]
DMDirector_GetRepositories $director $repos username ""
set wslist [WorkSpaceList]
set repoh [RepositoryList_at $repos 1]
DMDirector_GetWorkspaces $director $wslist username
set newws [new_WorkSpace “MyWS” {C:\temp} username]
set gdm [DMDirector_OpenWorkspace $director $newws $repoh 1]