fmeobjects.FMEDialog.generate

FMEDialog.generate()

generate(defaultSourceDataset),

This method displays the Generate Workspace dialog box.

Parameters:

defaultSourceDataset (str) – The default source dataset displayed in the Generate Workspace dialog.

Return type:

tuple[str]

Returns:

The parameter filename and workspace filename. This tuple is formatted: (parameterFileName, workspaceFileName). Returns None if the user hit cancel.The parameterFileName that is returned can be used to generate a workspace with this fme invocation:fme PARAMETER_FILE < parameterFile > Then the parameterFile should be deleted from the disk. The workspace itself will not exist until after the FME returns.