symbol-hide doesn't work
Hi everyone, Recently the symbol-hide command doesn't work and I can't export a map without centerline/stations. In the past I didn't have that problem. What am I doing wrong? config, th & th2 file are added Omri
Hi, I tried another sample I have and symbol-hide group centerline works as assumed. I tried to change symbol-set, but in your example it doesn’t work persistently. Martin
29. 6. 2020 v 21:05, עמרי גסטר <omrigas@gmail.com>:
Hi everyone,
Recently the symbol-hide command doesn't work and I can't export a map without centerline/stations.
In the past I didn't have that problem. What am I doing wrong?
config, th & th2 file are added
Omri <Default_Layout.thconfig><Haritun27_6_20B.th><Haritun27_6_20B-1p.th2><Haritun27_6_20B-1s.th2>_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
I have a lot of other projects that it worked fine with same config file. I can't understand why... On Tue, Jun 30, 2020, 4:03 PM Martin Sluka via Therion <therion@speleo.sk> wrote:
Hi,
I tried another sample I have and symbol-hide group centerline works as assumed.
I tried to change symbol-set, but in your example it doesn’t work persistently.
Martin
29. 6. 2020 v 21:05, עמרי גסטר <omrigas@gmail.com>:
Hi everyone,
Recently the symbol-hide command doesn't work and I can't export a map without centerline/stations.
In the past I didn't have that problem. What am I doing wrong?
config, th & th2 file are added
Omri
<Default_Layout.thconfig><Haritun27_6_20B.th><Haritun27_6_20B-1p.th2><Haritun27_6_20B-1s.th2>_______________________________________________
Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
_______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
Your problem is the order of your statements: layout local symbol-hide group centerline symbol-set UIS These directives are processed in order, so if the second one overrides the symbol hiding, it will win. "symbol-set UIS" includes centreline symbols defined as a line. It is defined second, so it overrides the line before it. You need to swap the lines around: layout local symbol-set UIS #overall symbol set symbol-hide group centerline #override specifics In the same way, your .thconfig file's "layout local" says "copy LayoutScalebar1". I guess that is defined in: F:\Omri\Therion\Layout\StdFiles\LayoutStandards.thc You did not share that file, so I cannot be certain if it also could cause problems. You copy that layout *after* you set the symbol-hide. If LayoutScalebar1 overrides the symbol hiding, it will win. This is risky: layout local symbol-hide group centerline ... copy LayoutScalebar1 This is better: layout local copy LayoutScalebar1 symbol-hide group centerline This is probably not causing problems in your particular case, but this is why I always do my "copy" statements first, then the local layout settings afterwards, so I never bump into this kind of hidden problem. Hope this helps. Tarquin
Thanks Tarquin! It worked! On Tue, Jun 30, 2020 at 11:45 PM Tarquin Wilton-Jones via Therion < therion@speleo.sk> wrote:
Your problem is the order of your statements:
layout local symbol-hide group centerline symbol-set UIS
These directives are processed in order, so if the second one overrides the symbol hiding, it will win. "symbol-set UIS" includes centreline symbols defined as a line. It is defined second, so it overrides the line before it. You need to swap the lines around:
layout local symbol-set UIS #overall symbol set symbol-hide group centerline #override specifics
In the same way, your .thconfig file's "layout local" says "copy LayoutScalebar1". I guess that is defined in: F:\Omri\Therion\Layout\StdFiles\LayoutStandards.thc
You did not share that file, so I cannot be certain if it also could cause problems. You copy that layout *after* you set the symbol-hide. If LayoutScalebar1 overrides the symbol hiding, it will win. This is risky:
layout local symbol-hide group centerline ... copy LayoutScalebar1
This is better:
layout local copy LayoutScalebar1 symbol-hide group centerline
This is probably not causing problems in your particular case, but this is why I always do my "copy" statements first, then the local layout settings afterwards, so I never bump into this kind of hidden problem.
Hope this helps.
Tarquin _______________________________________________ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
-- בברכה, עמרי גסטר 052-6124995
participants (3)
-
Martin Sluka -
Tarquin Wilton-Jones -
עמרי גסטר