Hi Dale thanks, I will test it as the first thing monday morning, as I normaly have af FME_BEGIN_TCL this issue is not a problem under normal circumstanses. When you give the devil a finger he takes the arm, so could we also have this functionality in Tcl2/@Tcl2()?
about the tcllibary this is alsoe a nice extension making life a bit more uncomplicated. But again, when you ...., what about including the oratcl, tlcodb, blat.exe and a zip/unzip program as well. I use these extensions quite a bit, and knowing they are on a pc when fme is installed could simplify things quite a bit In you mail - about the tcl libary you menthion ftp, http, and the registry package, but I have also thinkt that the math, and the list extensions are interesting and what about SOAP there is a SOAP extension to tcl ( I am not shure it is aprt off the tcl libary ) I have downloade it and playd a bit with it, I have not been able to get i working yet, but when I have I will post an exampel to the list. thankes and have a nice weekend Peter >From: "Dale Lutz" <[EMAIL PROTECTED]> >Reply-To: [email protected] >To: <[email protected]> >Subject: RE: [fme] FME_MacroValues >Date: Sat, 24 Feb 2007 12:03:04 -0800 > >Hi Peter, > > > >You'd written: > > > > > in the newest version off fme you can read the following in the > > > whatsnew.txt > > > ---------------------------------------------------------- > > > FME_BEGIN/END_TCL: Provide an FME_MacroValues array that holds a > > > dictionary keyed by macro name to macro values so that published > > > parameters can easily be retrieved within begin/end Tcl scripts > > > ---------------------------------------------------------- > > > this is cool, but is it only implemented in the workbench, at least it >is > > > not working ( no array ) in a mapping file > > > i am using build 4295 > > > >Well, you were right. The FME_MacroValues actually had a problem in >that it didn't work if you didn't have a FME_BEGIN_TCL. I fixed that a >couple of days ago during the prep for the announcement I'm about to >send out about this. So actually it didn't work in either Workbench or >mapping files UNLESS you had a FME_BEGIN_TCL. > > > >But that is fixed now. And, I know you'll like this, I did all the >initial testing with mapping files, so I know it works there. Here's >what I was using incidentally: > > > >READER_TYPE NULL > > > >WRITER_TYPE NULL > > > >MACRO DestDataset .\output.dwg > > > >NULL_DATASET "$(DestDataset)" > > > >FME_BEGIN_TCL puts $FME_MacroValues(DestDataset); > > > >FME_BEGIN_TCL puts [array names FME_MacroValues]; > > > >FME_END_TCL puts $FME_ElapsedTime > > > >FME_END_TCL puts [array names FME_MacroValues]; > > > >FME_END_TCL puts $FME_MacroValues(passmein); > > > >And this doesn't work unless you pass a "passmein" macro on the command >line (i.e. fme testEndTclMacros.fme --passmein hello) > > > >I think this, combined with the inclusion of the standard library, makes >for some very interesting possibilities. > > > >Thanks for noticing! > > > > > >Dale > > > >---------------------------------------------------------------------- > >Dale Lutz Safe Software Inc. [EMAIL PROTECTED] > >VP Development Surrey, BC, CANADA phone: (604) 501-9985 > > http://www.safe.com fax: (604) 501-9965 > >---------------------------------------------------------------------- > > > > > _________________________________________________________________ Opret en personlig blog og del dine billeder på MSN Spaces: http://spaces.msn.com For insights into what's up at Safe Software and what's on the development horizon, visit Safe's blog at spatial-etl.blogspot.com. Safe Software has also made slides available that outline enhancements planned for FME 2007. The slides are from the "Road Ahead" presentation given on Day 2 of the FME Worldwide Users Conference. To view these slides, 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/
