[Therion] unselect in thconfig

Stacho Mudrak s.m at group-s.sk
Sat Apr 7 12:08:55 CEST 2007


Currently you can not export more then one "selection configuration" 
from single thconfig file. In other words - therion first reads all 
select & unselect commands, process them and after this export is done.

I usually solve this problem by splitting two configurations into two 
separate files and then using "system" command in main thconfig file.

system "therion thconfig.m1"
system "therion thconfig.m2"

where thconfig.m1 and thconfig.m2 are like

select mapN at zusammenbau
export map -o m1.pdf

It is not very clean solution, but it works. But I will check, whether 
it is not possible to implement selections like you have written - it is 
a quite old item in the TODO list.

S.

Stefan Oswald wrote:
> Hi together, 
> 
> We have a problem exporting multiple .pdf files from different maps of one cave. It should work like this in thconfig: 
> 
> source zusammenbau
> 
>   select map1 at zusammenbau
>   export map -o m1.pdf
>  unselect m1 at zusammenbau
> 
>  select map2 at zusammenbau
>   export map -o m2.pdf
>  unselect m2 at zusammenbau
> 
> With only the map1 at zusammenbau ->m1.pdf is generated correctly; as soon as we add the second select-export-unselect in both .pdf files both maps are drawn. 
> 
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://www.speleo.sk/mailman/listinfo/therion



More information about the Therion mailing list