Hi
I'm trying to make some changes to my setup of worksets in connect edition. Right now I have set the worksetroot to the following in my workset.cfg
_USTN_WorkSetROOT = P:\Proj18\$(_USTN_WORKSETNAME)\3 Projektering\K\
And my workspacesroot and down the line also the worksetsroot set to:
_USTN_WORKSPACESROOT = R:\Bentley\Workspaces\
This is because all our company's projects have it's own folder in P:\proj18 for projects created in 2018, no matter if we use microstation, revit or something else and we didn't want the .cfg file in that folder as well. But now I want to use the template function when creating a new workset to copy all folders and files from the template. Here's the weird part.
I created a new workspace called workspaceTest. Copied the buildingtemplate_SE (running aecosim but I guess that doesn't make any difference in the end) both folder and .cfg file to the new workspace's folder. When I now create a new workset called test1 with the buildingtemplate_SE as template a new folder and file named test1 is created in R:\Bentley\Workspaces\WorkspaceTtest\WorkSets alongside the buildingtemplate_se folder and cfg file. Now I copy the buildingtemplate_SE's folder to P:\Proj18 and change to _USTN_WorkSetROOT = P:\Proj18\$(_USTN_WORKSETNAME)/ in the buildingtemplate_SE.cfg. When I then create a new workset called test2 with buildingtemplate_SE as template a folder called test2 is created in R:\Bentley\Workspaces\WorkspaceTtest\WorkSets, not in P:\Proj18. But when I try to open a file in the workset test2 an error says the path P:\proj18\test2\design can't be found.
So, is there a variable available to separate the folder from the cfg file in some way?
Regards,
Robert
Hi Robert,This is covered in my blog CONNECT Edition - Custom Configuration - Part 5 : Separating Project Data from Standards for MicroStation. There is an index page listing the related articles for AECOsim CONNECT Edition - Configuration : Customization Guides.
The headline is that _USTN_WORKSETROOT can be defined as you show it above in the WorkSpace.cfg (instead of in each WorkSet.cfg) located in R:\Bentley\Workspaces\ to point the project data to the P drive. This assumes that the _USTN_WORKSETROOT statement is common to all WorkSets (as it appears to be in your example).
Marc
Hi. Ok, looks like that's exactly what I'm looking for. BUT! How do you get the workset_03's folder created to \\server\ProjectData\Project_03\WorkSet_03? You say that the line:
_USTN_WORKSETROOT = //server/ProjectData/Project_03/$(_USTN_WORKSETNAME)/
in workset_03.cfg is used to make that happen. But isn't that file and the folders created at the same time? Is the folder structure copied from \WorkSpaces\WorkSpace_01\WorkSets to \\server\ProjectData\Project_03\ after creation?
Marc Thomas ?
Hi Robert, sorry for the delay. I'm looking at this again at the moment, will get back to you as soon as I can.
How's it going?