Hi Roland, I'll try and decipher what you're saying ;-) --- In [email protected], "King Rollo" <[EMAIL PROTECTED]> wrote: > > Hello. > > I'm trying to build a custom transformer to perform the same > transformation on all my column headers (attribute names) (much like > the existing AttributeRenamer; AttributePrefixer; etc). It works > fine if I route it to a Visualiser, and in that respect all is well. > > There is a slight problem, though. I can't for the life of me figure > out how to get the altered attribute names to appear as the output > of the transformer, which is what I need.
How are you doing this renaming in the custom transformer? It sounds like you aren't using AttributeRenamer. Are you using TCL or Python. I know that for TCL any attributes you create in the script won't automatically appear in the workspace because there's no way that Workbench can parse the TCL to find out what attributes are created. The attributes will be there (which is why you see them in the Viewer) but just don't get automatically exposed in Workbench. If this is the case then I think the AttributeExposer is your only hope - though it could be a lengthy process to set up for many attributes. > More mysterious is that if you rename AttributePrefixer and try to > use it, it loses that capability altogether. Presumably something is > hardcoded somewhere else up the line. Not sure if I know what you mean - can you send an example? Mark Mark Ireland, Senior Product Specialist Safe Software Inc. Surrey, BC, CANADA [EMAIL PROTECTED] http://www.safe.com Solutions for Spatial Data Translation, Distribution and Access 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/
