HyperWorks Desktop

new_WorkSpace

new_WorkSpace

Previous topic Next topic No expanding text in this topic  

new_WorkSpace

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME


new_WorkSpace

 

SYNTAX


new_WorkSpace <Workspace Name> <Path> <username>

 

TYPE/CLASS


Workspace

 

 

DESCRIPTION  


Creates a new workspace handle at the specified path under the specified username.

Note:Just executing this command will not create a new workspace. The workspace has to be opened using DMDirector_OpenWorkspace. See DMDirector_OpenWorkspace.

WorkSpace Name

Name of the workspace

Path

Path where you want to create a new workspace

 

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 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]

 

ERRORS


 

SEE ALSO


DMDirector_OpenWorkSpace

DMDirector_GetLibraries