Hi
I'm trying to simplify our setup for workspaces and worksets. Projects are located in a folder like this: "P:/ProjXX/XX001 project_name" where XX is the year of project registration.
Right now the _USTN_WORKSETROOT is set in the worksets cfg like this:
_USTN_WORKSETROOT = $(_USTN_WORKSPACE_PROJNR_YEAR)$(_USTN_WORKSETNAME)\
Where the first variable is a workspace variable looking something like this: _USTN_WORKSPACE_PROJNR_YEAR = P:\Proj20\and the workset name is always set to the project's folders name "20001 project_name".
But since the first 2 numbers of the worksets name is also controlling the first variable's value ("P:\Proj20\"), my thought was that maybe I can create an if-statement to check this? So that if the projects names first two numbers are "20" then the _USTN_WORKSPACE_PROJNR_YEAR will be set to "P:\Proj20\" automatically. This way I won't have to use workspaces in the way I do now.
Is this possible?
Regards,
Robert
what is your _USTN_WORKSPACEROOT set to ?
Timothy Hickman
CADD Manager | CADD Department
timothy.hickman@colliersengineering.com
Main: 877 627 3772|
1000 Waterview Drive Suite 201 | Hamilton, New Jersey 08691
To the default:_USTN_WORKSPACEROOT = $(_USTN_WORKSPACESROOT)$(_USTN_WORKSPACENAME)/
But the workspaceSroot is actually pointing to another server than P: because we don't want the cfg- and dgnws-files to clutter the P: folders.
ok so you have your workspace configurations in one location and your workset or project configurations in another separate location ?
Thats correct. But I don't think thats relevant for what I'm looking for. Do you?
Hi Robert,
Take a look at the help topic:
Home > Setting Up the Environment > Configuration > Configuration Concepts > Configuration Variables > Configuration File Syntax > Operators
We have operators that can logically pick out parts of paths and filenames, these may help?
Marc