<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-NZ link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Ok, Now I feel like a beginner, having to ask this question…<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have for years created my .th files like this, more or less.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'>input 1-BottomUpPlan.th2<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'>map 1-BottomUpPlanCL -title "1-BottomUp plan centreline" -projection plan<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'> <b><span style='background:yellow;mso-highlight:yellow'>1</span> </b># this works fine<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>endmap <o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'>map 1-BottomUpPlan -title "1-BottomUp plan" -projection plan<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'> 1-BottomUpPlan-s1<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>endmap <o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'><b>survey 1 -title "1-BottomUp”<o:p></o:p></b></p><p class=MsoNormal style='margin-left:72.0pt'>centreline<o:p></o:p></p><p class=MsoNormal style='margin-left:72.0pt;text-indent:36.0pt'>etc<o:p></o:p></p><p class=MsoNormal style='margin-left:72.0pt'>endcentreline<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>endsurvey<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This is contrary to the current good advice, and the way TopParser works, which suggests that maps should be created inside the survey, as this makes referencing the scraps easier and more consistent when they are part of a large project.<o:p></o:p></p><p class=MsoNormal>So with this brand new project, I rearranged my 1-BottomUp.th file like this, to try to follow good practice …<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-left:36.0pt'><b>survey 1 -title "1-BottomUp”<o:p></o:p></b></p><p class=MsoNormal style='margin-left:72.0pt'>input 1-BottomUpPlan.th2<o:p></o:p></p><p class=MsoNormal style='margin-left:72.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:72.0pt'>map 1-BottomUpPlanCL -title "1-BottomUp plan centreline" -projection plan<o:p></o:p></p><p class=MsoNormal style='margin-left:72.0pt'><b> <span style='background:yellow;mso-highlight:yellow'>1</span></b> # this always causes error at this location “object does not exist – 1”<o:p></o:p></p><p class=MsoNormal style='margin-left:72.0pt'>endmap <o:p></o:p></p><p class=MsoNormal style='margin-left:72.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:72.0pt'>map 1-BottomUpPlan -title "1-BottomUp plan" -projection plan<o:p></o:p></p><p class=MsoNormal style='margin-left:72.0pt'> 1-BottomUpPlan-s1<o:p></o:p></p><p class=MsoNormal style='margin-left:72.0pt'>endmap <o:p></o:p></p><p class=MsoNormal style='margin-left:72.0pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:72.0pt'>centreline<o:p></o:p></p><p class=MsoNormal style='margin-left:72.0pt;text-indent:36.0pt'>etc<o:p></o:p></p><p class=MsoNormal style='margin-left:72.0pt'>endcentreline<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>endsurvey<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Trouble is, the Therion Compiler always reports an error “object does not exist – 1” when I try to create a small map with just the centreline of survey 1.<o:p></o:p></p><p class=MsoNormal>I have tried a number of variations of the above, with versions from 5.3.16 to 5.4.1, and the only way I can get it to compile is with the arrangement at the top of this post; how I have always done it for years and years.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So it looks like Therion is complaining about calling the survey “1” from within the definition of survey “1”.<o:p></o:p></p><p class=MsoNormal>I would not have thought this were a problem, as it seems like Therion is generally happy to do this sort of thing.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is it some kind of namespace problem?<o:p></o:p></p><p class=MsoNormal>Or is there some other thing I am missing? <o:p></o:p></p><p class=MsoNormal>Is it not possible to create a map of containing only a survey centreline, from within that same survey?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Bruce<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>