This is not available with Tecnomatix .NET API, but you can get it using the eMServer client API.
Check for the eM-PlannerAPIManual_<version number>.chm at the documentation section of the installation package.
It is part of the official DVD. It contains examples in Visual Basic.
Dim curUserFolderKey As EMPTYPELIBRARYLib.EmpObjectKey
curUserFolderKey = ProjectM.GetUserFolder(currContext)
I can get the working folder key by above code ,but it is not the foldername or folderpath,how can i get the fullname of working folder with the key ?
The working folder is a PmCollection object part of the current project, it is not a Windows folder/directory.
GetUserFolder API returns a unique identifier of the working folder in the form of its EmpObjectKey.
You can use the EmpObjectKey by passing it to IEmpNode::Name property to get the name.