Hi
with a bit off tcl we can do it all in just af couple of lines and one
function call
proc setTextSize {} {
set area [ FME_Execute Area ] ;
set size 3 ;
if {$area < 600 } {
set size 1
} elseif {$area < 5000 } {
set size 2
} ;
FME_SetAttribute fme_text_size $size ;
}
the above proc do what you want
you can implement it with the TCLCaller transformer, either by putting the
code in a *.tcl file or by putting the code on one line and the paste it
into the transformer
have fun
Peter Laulund,
National Survey and Cadastre, Denmark
>From: "a552.anna" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: [fme] Re: Attribute filtering in ranges
>Date: Mon, 10 Jul 2006 03:51:52 -0000
>
> > True, but then there'd be no distinction between the < 600 and > 5000
> > classes. I was under the impression that such a distinction needed to
>be
> > made.
> > --
> > Hans van der Maarel
> > Red Geographics
> > www.redgeographics.com / [EMAIL PROTECTED]
> >
>Hans is right. I need 3 groups, but with only 2 testers this is not too
>much hassle.
>Anna
>
>
>
>
>
>
>
>Join us at the FME Worldwide User Conference Sept. 21-22, 2006 Vancouver BC
>Canada. For more information, visit www.safe.com/2006uc.
>Yahoo! Groups Links
>
>
>
>
>
>
>
_________________________________________________________________
Log på MSN Messenger direkte på nettet http://webmessenger.msn.com/
Join us at the FME Worldwide User Conference Sept. 21-22, 2006 Vancouver BC
Canada. For more information, visit www.safe.com/2006uc.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/fme/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/