I'm in the process of implementing changes to our companys workspace to get Connect Edition running.
We have previously had a very simple method of running Aecosim V8i, the only thing we did was setting a Windows System Variable (_USTN_WORKSPACEROOT) to the network folder where the workspace was, and everything was running nicely.
This isn't working anymore,as _USTN_WORKSPACEROOT is not the same anymore.
First thing therefore was undefining this Windows System variable, and instead running V8i with command line switch "-wrM:\Microstation\Workspace\".
V8i still working the same way as before, which is a nice thing.
My question now is, can I do the same thing with Connect Edition?
The purpose would be the same, the program shouldn't look for the 2 configuration files ConfigurationSetup.cfg and WorkSpaceSetup.cfg on a local drive, but on the network.
That's a bit of a "hen or egg" problem, as I didn't have any networked custom configuration yet.
But as far as I understand it should be possible to fix that by changing the configuration files.
The ConfigurationSetup.cfg looks like that:
[General]_USTN_CUSTOM_CONFIGURATION = M:/Microstation/Workspace_Connect/Configuration/_USTN_CONFIGURATION : ${_USTN_CUSTOM_CONFIGURATION}
[SetConfiguration]%if !defined (_USTN_USER_CONFIGURATION)%if defined (_USTN_CUSTOM_CONFIGURATION) && ($(_USTN_CUSTOM_CONFIGURATION) != "") && exists ($(_USTN_CUSTOM_CONFIGURATION))%endif%endif
So far that looks good.
I do have another problem with configuration in addition, but I'll open a new post.
Hi Andreas,
ConfigurationSetup.cfg should not look like that! Which Update are you running?
The content should be as my example. AECOsim (and MicroStation, etc.) write to the ConfigurationSetup.cfg to keep the file in sync with the WorkSpace selected by the user. If the structure is changed the file may not be parsed correctly and will not be rewritten correctly.
Andreas Zieritz said:That's a bit of a "hen or egg" problem, as I didn't have any networked custom configuration yet.
You can install AECOsim and include the network location before the network location is ready, it will work with the locally installed dataset and example projects. Once the Custom Configuration is ready users will be able to select it.
Until the Custom Configuration contains at least one WorkSpace CFG file (e.g.: \\hal\CONFIGURATIONS\CE\WorkSpaces\DemoSets.cfg) it will not appear for selection in the UI.
To test things out you could create a Custom Configuration locally, e.g.:
Note:
The project data is in a separate folder structure from the configuration.
The DGNWS files are also stored with the project data as they need to be user-writable.
Once that is ready for testing on the network you can simply copy the contents of _SERVER to the network and change the path in ConfigurationSetup.cfg.
Please read through the posts I mentioned before, I've tried to document all of the necessary steps.
Regards
Marc