Hi Wookey - Voila! That was the secret incantation. This .th file compiles without error. I used "source BigCavernRanch.th" in the thconfig file. ====== BigCavernRanch.th =========== # Bring in subsidiary files survey all # Name the input caves input ../AllieSpringCaveSurvey/AllieSpringCave.th input ../MillCreekCaveSurvey/MillCreekCave.th input ../ShiftyRockPit/ShiftyRockPit.th input ../CascadeCaverns/CascadeCaverns.th equate AA42@ShiftyRockPit DR23@AllieSpringCave endsurvey ============================== Many thanks! -- Bill Gee On Monday, April 30, 2018 3:48:29 PM CDT Wookey via Therion wrote:
On 2018-04-26 09:51 -0500, Bill Gee via Therion wrote:
The combined map is generated from a single thconfig file that uses "source" commands to bring in the .th files from each of the member caves.
Now we have surveyed a link between two of the four caves. I need to set up an "equate" command so that the two caves actually link up.
Based on a message from Martin, I added a .th file which contains a "survey" command. However, that is generating an error from Therion: ...
========== BigCavernRanch.th =========== # Bring in subsidiary files
# Name the input caves source ../AllieSpringCaveSurvey/AllieSpringCave.th source ../MillCreekCaveSurvey/MillCreekCave.th source ../ShiftyRockPit/ShiftyRockPit.th source ../CascadeCaverns/CascadeCaverns.th
survey all
equate AA42@ShiftyRockPit DR23@AllieSpringCave
endsurvey
'source' is a command that goes in a thconfig file. 'survey' is a command that goes in a .th file.
thconfig and .th files have different formats. So even though you've called the file 'BigCavernRanch.th', it's being treated as a thconfig file.
I think if you change: input BigCavernRanch.th to source BigCavernRanch.th that should do the trick.
input is 'insert file as if it was written here' source is 'read this .th data file here'
Wookey