MicroStation CONNECT Edition Help

Changing the Location of DGN WorkSet (DGNWS) Files

By default, the DGN WorkSet files (.dgnws) are stored in the root folder of the WorkSet. If you want to move this file to another location, so as to separate the location of your design data (DGN) and configuration data, you can use the _USTN_WORKSETSDGNWSROOT configuration variable. This configuration variable defines the location of DGNWS files of all the WorkSets in a WorkSpace. This configuration variable should be defined in the WorkSpace's .cfg file.

You can define the following values for _USTN_WORKSETSDGNWSROOT in WorkSpace.cfg to be able to save your .dgnws file within the WorkSet folder or at some common location (per WorkSpace):
Value Description

$(_USTN_WORKSETSROOT)/

All WorkSet.dgnws would be created in _USTN_WORKSETSROOT folder.

$(_USTN_WORKSETSROOT)/CommonDGNWS/

All WorkSet.dgnws would be created in CommonDGNWS folder.

$(_USTN_WORKSETSROOT)$(_USTN_WORKSETNAME)/

All WorkSet.dgnws would be created in respective WorkSet folder

When defined, _USTN_WORKSETSDGNWSROOT = $(_USTN_WORKSETSROOT)/ in WorkSpace.cfg, all WorkSet.dgnws would be created in _USTN_WORKSETSROOT folder.

WorkSets root folder
  • WorkSet 1.cfg
  • WorkSet 1.dgnws
  • WorkSet 2.cfg
  • WorkSet 2.dgnws
  • WorkSet 3.cfg
  • WorkSet 3.dgnws
  • WorkSet 1
    • DGN
    • Settings
  • WorkSet 2
    • DGN
    • Settings
  • WorkSet 3
    • DGN
    • Settings

When defined _USTN_WORKSETSDGNWSROOT = $(_USTN_WORKSETSROOT)/CommonDGNWS/ in WorkSpace.cfg, all WorkSet.dgnws would be created in CommonDGNWS folder.

WorkSets root folder
  • WorkSet 1.cfg
  • WorkSet 2.cfg
  • WorkSet 3.cfg
  • CommonDGNWS
    • WorkSet 1.dgnws
    • WorkSet 2.dgnws
    • WorkSet 3.dgnws
  • WorkSet 1
    • DGN
    • Settings
  • WorkSet 2
    • DGN
    • Settings
  • WorkSet 3
    • DGN
    • Settings

When defined _USTN_WORKSETSDGNWSROOT = $(_USTN_WORKSETSROOT)/ $(_USTN_WORKSETNAME)/ in WorkSpace.cfg, all WorkSet.dgnws would be created in respective workset folder.

WorkSets root folder
  • WorkSet 1.cfg
  • WorkSet 2.cfg
  • WorkSet 3.cfg
  • WorkSet 1
    • WorkSet 1.dgnws
    • DGN
    • Settings
  • WorkSet 2
    • WorkSet 2.dgnws
    • DGN
    • Settings
  • WorkSet 3
    • WorkSet 3.dgnws
    • DGN
    • Settings