[Therion] Scope of select and unselect

Bill Gee bgee at campercaver.net
Fri Jan 17 14:42:04 CET 2025


Hello everyone -

I am starting a new cave map project and trying to apply some stuff I 
learned a few weeks ago.  I am not getting what I want, and I think it 
is because I do not understand the scope of select and unselect in a 
thconfig file.

Reading the Therion Book - page 50 - It appears that "select" is not 
processed sequentially.  It has the same effect no matter where it 
appears in a thconfig file.  Is that correct?

And if that is correct, then what purpose is served by "unselect"?

What I want is a variety of exported maps showing only the drawn parts 
of the cave.  Then I want a map which shows all drawn parts AND all 
centerline.  I defined several maps and surveys in the .th file to cover 
this.

However, when I do the compile it acts like BOTH sets of defined maps 
are exported.  My thconfig file looks like this:

source main.th

# repeated for all the layouts I want to use
layout
endlayout

# produce the basic maps
select MainMap
export ...
export ...

# produce the debug map
unselect MainMap
select MainMap-Debug
export ...

Thanks!
-- 
===============
Bill Gee



More information about the Therion mailing list