Hi Mark, sorry I never answered before but somehow I just shoved the message into my temporary fme-messages-store and only now found the time to browse them. I will try that, Thank You! Christine ----- Original Message ----- From: "mark2atsafe" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, June 20, 2005 6:17 PM Subject: [fme] Re: Feature Types in fme-files
> The "prompt" is the same as "publish parameter" - it appears to have > undergone a name change but is the same thing. > > "prompt" or "publish" and then right click the transformer and choose > copy. Open a text editor and choose paste. You'll then see the macro > to use (you can copy and paste all transformers this way, but you > won't see the macro unless it is set to prompt) > > When I do this with an AttributeSetter I see that... > > DEFAULT_MACRO ATTRIBUTESETTER_VAL xxxx > > ...so in your command line use --ATTRIBUTESETTER_VAL test > > Of course the macro name would vary depending on how many > AttributeSetters you have so it is important to check this on your > particular transformer. > > BTW I really can't see why a workspace would take longer to process > than a mapping file since it really is a mapping file with some > additional xml to define the workspace part, and it's run in the same way. > > --- In [email protected], "Andrae" <[EMAIL PROTECTED]> wrote: > > Hans, > > there are two problems: > > a) my Attributesetter doesnt show "publish parameter", only "Edit" or > > "Prompt". > > I tried "Prompt" but using a fmw-file in batch mode (batchfile and > command > > file) didn't prompt > > > > b) My attributeSetter's name is "Set_Basename" and it's supposed to > > fme_basename to "test". > > how would the syntax in the command-file have to be in order to > assign the > > parameter "test" to my attribute_setter? > > > > At the moment it's like this (path abbreviated only here): > > E:/.../Import_new_test.fmw --SourceDataset > > E:/.../muster.dgn --_ORACLE_UserName_ORACLE8I > > dsr_data --_ORACLE_Password_ORACLE8I dsr_data --DestDataset_ORACLE8I > > dsrdev92_geodat LOG_FILENAME test.log > > > > ----- Original Message ----- > > From: "Hans van der Maarel" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Thursday, June 16, 2005 5:50 PM > > Subject: Re: [fme] Feature Types in fme-files > > > > > > > Christine, > > > > > > > This only works within the workbench. As soon as I save the > workbench > > file > > > > to a fme-file it doesn't work any longer because the features > appear to > > > > forget their featureType. > > > > But I need to use fme-files because they have to receive > parameters by > > > > automatic processes. > > > > > > > > Does anyone have an idea? > > > > > > You can still use fmw files and pass on parameters via a batch file: > > > - in the Workspace panel, open the list of Transformers used > > > - select the Transformer you want to send parameters for > > > - right click on the appropriate parameter and check "Publish > Parameter" > > > > > > Then save your workbench, open it in a text editor and look at the top > > > of the header. It tell you what parameters are 'public'. > > > > > > Hope this helps. > > > -- > > > Hans van der Maarel > > > Red Geographics > > > www.redgeographics.com / [EMAIL PROTECTED] > > > > > > > > > > > > Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team. Visit www.safe.com/services for details. > Yahoo! Groups Links > > > > > > Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team. Visit www.safe.com/services for details. 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/
