Quantcast
Channel: OpenRoads | OpenSite Forum - Recent Threads
Viewing all articles
Browse latest Browse all 15596

If Exist variables TEMPLATE.ITL Project versus Site level

$
0
0

I am having problems getting the following IF EXISTS to work within my Site.cfg file.  Essentially, the TEMPLATE.ITL should reside within each project and for the most part does.  For a few, I want OpenRoads to open a "readonly" SITE level template.

During testing, TEMPLATE.ITL does existing within the project begining tested, however the first IF EXISTS fails and loads the first ELSE.  Please let me know what is missing.

_CITY_Template=$(_CITY_PROJECTS)/$(_USTN_PROJECTNAME)/Design/GEOPAK/

%if exists ($(_CITY_Template)Templates.itl)
        CIVIL_ROADWAY_TEMPLATE_LIBRARY = $(_CITY_Template)Templates.itl
  %else
        CIVIL_ROADWAY_TEMPLATE_LIBRARY = $(_City_OpenRoads)template_library/Templates.itl
  %else
        %error Unable to find $(_CITY_Template)Templates.itl
%endif


Viewing all articles
Browse latest Browse all 15596

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>