#---------------------------------------------------------------------------- #This section should be the only variables that need edited OHDOTWORKSPACELOC = $(_USTN_WORKSPACESROOT)$(_USTN_WORKSPACENAME)\ #the below var is only used if outside of projectwise OHDOTWORKSETCFGLOC = $(_USTN_WORKSPACESROOT)$(_USTN_WORKSPACENAME)\WorkSets\ #---------------------------------------------------------------------------- %if defined (_PWEXPLORER) _USTN_WORKSPACEROOT = $(OHDOTWORKSPACELOC) # Define WorkSet Name AND WorkSets Location based on ProjectWise Work Area if in ProjectWise %if exists (dms_parentproject (_dgndir)) %if exists ($(dms_parentproject (_dgndir))$(lastdirpiece ($(dms_parentproject (_dgndir)))).cfg) # CASE 1 - The File is in a Structural Sub Work Area - PID Work Area is the parent project _USTN_WORKSETSROOT = $(dms_parentproject (_dgndir)) %lock _USTN_WORKSETSROOT %else # CASE 2 - The File is in the PID Work Area _USTN_WORKSETSROOT = $(dms_project (_dgndir)) %lock _USTN_WORKSETSROOT %endif %else # CASE 2 - The File is in the PID Work Area _USTN_WORKSETSROOT = $(dms_project (_dgndir)) %lock _USTN_WORKSETSROOT %endif _USTN_WORKSETNAME = $(lastdirpiece (_USTN_WORKSETSROOT)) %lock _USTN_WORKSETNAME %if defined (_USTN_WORKSETNAME) && exists ($(_USTN_WORKSETSROOT)$(_USTN_WORKSETNAME).cfg) _USTN_WORKSETCFG = $(_USTN_WORKSETSROOT)$(_USTN_WORKSETNAME).cfg %lock _USTN_WORKSETCFG %else %error cant find workset cfg %endif #============================================================================ # Reset the following variables to their defaults if ProjectWise was launched # They were defined to the current DGN Directory and would need to change every time # a DGN is opened from a different folder #============================================================================ MS_BACKUP = $(_USTN_OUT) # Redefine to _USTN_OUT %ifdef MS_REPORT_OUTPUT # Remove this variable %undef MS_REPORT_OUTPUT %endif %ifdef MS_RFDIR # Remove this variable since references are managed by ProjectWise %undef MS_RFDIR %endif %else _USTN_WORKSPACEROOT = $(OHDOTWORKSPACELOC) _USTN_WORKSETSROOT = $(OHDOTWORKSETCFGLOC) %endif #============================================================================ # Set location of OHDOT Standards #============================================================================ _USTN_WORKSPACESTANDARDS = $(_USTN_WORKSPACEROOT)Standards/ #============================================================================ # Include the OHDOT WorkSpace Standards #============================================================================ _OhioDOT_WORKSPACECONFIGURATIONFILE = $(_USTN_WORKSPACEROOT)Standards/Config/OHDOT_WorkSpace.cfg %if exists ($(_OhioDOT_WORKSPACECONFIGURATIONFILE)) %include $(_OhioDOT_WORKSPACECONFIGURATIONFILE) %else %error $(_OhioDOT_WORKSPACECONFIGURATIONFILE) NOT FOUND (Check Access Control) %endif #----------------------------------------------------------------------------