Hi Roland...

>> I just typed straight into an FMX file. Is that TCL? It was mainly
>> AttributePrefixer it was based on.

In general, you have to let FME know what attributes are being added 
onto features as they exit each output on the transformer.  There are a 
couple ways this can be done:

1) Any parameter with a NEW_ATTR type will add an attribute as given by 
the user.  See the SpatialFilter for an example.

2) The ATTRIBUTES_ADDED section can be used to add attributes onto a 
given output.  See the SurfaceModeller for an example.

You are right when you say that some of the transformers are "special". 
  Workbench has some special code that allows the AttributePrefixer (and 
others) to do their magic and add these attributes dynamically.  It is 
difficult to say how you can get the output attributes you want without 
knowing what your specific problem is.  Could you email the transformer 
definition and a description of what you're trying to achieve to our 
support team?

As an aside, while we don't prevent anyone from writing .fmx files by 
hand, we don't really encourage it.  Since FME 2006 you can make custom 
transformers entirely using the Workbench interface, building from 
existing transformers, and they become usable like any other 
transformer.  You can make one by selecting File -> New -> Create a 
custom transformer.  This may be an easier way to build your tool then 
trying to write a .fmx file by hand.  If you can't use this to build 
your tool, let us know what you're trying to do and we'll see what we 
can do to make it happen.

-- 
--------------------------------------------------------------
Matt Adam                                        [EMAIL PROTECTED]
Developer, Safe Software Inc.            (604)501-9985 ext.234
--------------------------------------------------------------


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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/fme/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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/
 


Reply via email to