HyperWorks Desktop

WorkSpace_GetName

WorkSpace_GetName

Previous topic Next topic No expanding text in this topic  

WorkSpace_GetName

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

NAME


WorkSpace_GetName

 

 

SYNTAX


WorkSpace_GetName <workspace handle>

 

TYPE/CLASS


Workspace

 

DESCRIPTION


To get the name of the workspace

workspace handle

Workspace handle used to get name

 

 

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.0\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 wsname [WorkSpace_GetName $ws]

 

ERRORS


 

SEE ALSO


LibraryList_at

new_DMDirector