Any idea where variable _USTN_WORKSETSDGNWSROOT is used?
I couldn't find anything that refers to this variable, though it does appear in the list of variables being used by Aecosim Connect.
This Wiki describes _USTN_WORKSETSDGNWSROOT as the Root Directory containing DGNWS files..
I've seen that one as well.
But I can't find it in any of the configuration files actually being used.
This variable is not defined in delivered configurations.
It is intended to be used to control the location of DGNWS files (obviously). By default DGNWS files are located alongside the WorkSet.cfg which is fine for the example configuration/datasets.
Real-world project data is always located separately from the Custom Configuration and the contents of the Configuration should be read-only to normal user accounts. But the DGNWS needs to be written to by users so it is best located with the project data.
It could be used in the statements:
_USTN_WORKSETSDGNWSROOT = $(_USTN_WORKSETROOT)Standards/ # set location for DGNWS file_USTN_WORKSETDGNWS = $(_USTN_WORKSETSDGNWSROOT)$(_USTN_WORKSETNAME).DGNWS # set name of DGNWS file
_USTN_WORKSETDGNWS = $(_USTN_WORKSETROOT)Standards/$(_USTN_WORKSETNAME).DGNWS
Would have the same effect as far as I can see; so I'm not sure that _USTN_WORKSETSDGNWSROOT has to be defined.
This could be added at the Organization level in Standards.cfg (my preference) to apply to all projects or at the WorkSpace level if there were multiple WorkSpaces with varying requirements.
Answer Verified By: Andreas Zieritz
That's more or less what I thought, and actually it makes sense.
Implement it in the next release into the configuration files, and comment it out.
Probably would use that one instead.
_USTN_WORKSETSDGNWSROOT = $(_USTN_WORKSETSTANDARDS)