Connect / _USTN_WORKSETSDGNWSROOT

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.

Parents Reply Children
  • Hi Andreas,

    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

    Or:

    _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.

    Marc

    Answer Verified By: Andreas Zieritz 

  • That's more or less what I thought, and actually it makes sense.

    Proposal:

    Implement it in the next release into the configuration files, and comment it out.

  • Probably would use that one instead.

    _USTN_WORKSETSDGNWSROOT       = $(_USTN_WORKSETSTANDARDS)