I just installed the latest version of Power Geopak (InRoads, GEOPAK MX). I have a text window that pops up and says:
Symbol '$(Units)' is undefined, [c:\program Files (x86)\\Bentely\PowerGEOPAK V8i (SELECTSeries 4)\Subsurface\/SubsurfaceUtilitiesSamples.cfg], line 20
I escape out of it and PowerGEOPAK closes.
This is occurring because the PCF requires an update to the SUE Inclusion lines to function properly in the latest version. This typically occurs when using a PCF from a prior version, but there is more information into the SUE Inclusion lines which are necessary. To resolve this issue you can copy the lines from the delivered examples PCF to your working PCF as directed below, or you can comment out the SUE Inclusion lines.
In your working PCF, replace the following text at the bottom of the PCF:
#----------------------------------------------------------------------------------------# SUE Inclusion#----------------------------------------------------------------------------------------%if defined (MSSUE_APPDIR) %include $(MSSUE_APPDIR)/SubsurfaceUtilitiesSamples.cfg%endif
with:
#======================================================================================== # SUE/SUDA Inclusion # Load Feature defintions, level libraries, element templates, utility filters and seed. #======================================================================================== %if exists ($(_USTN_APPL)subsurface.cfg) %if $(_CIVIL_STANDARDS_CULTURE) == "en" CIVIL_CONTENTMANAGEMENTDGNLIBLIST > $(_USTN_PROJECTDATA)dgnlib/SampleDrainageFeatureDefs*.dgnlib MS_DGNLIBLIST > $(_USTN_PROJECTDATA)dgnlib/SampleDrainageFeatureDefs*.dgnlib CIVIL_CIVILTMDGNLIBLIST > $(_USTN_PROJECTDATA)dgnlib/SampleDrainageFeatureDefs*.dgnlib %if $(Units) == "Metric" SUDA_SEED_FILE = ($(_USTN_PROJECTDATA)dgnlib/sampledrainagefeaturedefs$(Units).dgnlib) SUDA_SEED_MODEL = Default Test_case = 1 %elif $(Units) == "Imperial" SUDA_SEED_FILE = $(_USTN_PROJECTDATA)/dgnlib/SampleDrainageFeatureDefs.dgnlib SUDA_SEED_MODEL = Default Test_case = 2 %endif %else CIVIL_CONTENTMANAGEMENTDGNLIBLIST > $(_USTN_PROJECTSROOT)examples/Bentley-Civil-$(Units)/dgnlib/SampleDrainageFeatureDefs*.dgnlib MS_DGNLIBLIST > $(_USTN_PROJECTSROOT)examples/Bentley-Civil-$(Units)/dgnlib/SampleDrainageFeatureDefs*.dgnlib CIVIL_CIVILTMDGNLIBLIST > $(_USTN_PROJECTSROOT)examples/Bentley-Civil-$(Units)/dgnlib/SampleDrainageFeatureDefs*.dgnlib %if $(Units) == "Metric" SEED_FILE_NAME = sampledrainagefeaturedefs$(Units).dgnlib SUDA_SEED_FILE = $(_USTN_PROJECTSROOT)examples/Bentley-Civil-$(Units)/dgnlib/$(SEED_FILE_Name).dgnlib) SUDA_SEED_MODEL = Default Test_case = 3 %elif $(Units) == "Imperial" SEED_FILE_NAME = sampledrainagefeaturedefs.dgnlib SUDA_SEED_FILE = $(_USTN_PROJECTSROOT)examples/Bentley-Civil-$(Units)/dgnlib/$(SEED_FILE_Name).dgnlib) SUDA_SEED_MODEL = Default Test_case = 4
%endif %endif %endif %endif%endif