Skip to main content

Hi all.

I'm importing some DWGs and DGNs, merging all features from all files, and adding fme_basename and fme_dataset to the input. This works fine, until output.

The output writer featuretype lists the two attributes under "Format attributes" with a green arrow. The writer featuretype dropdown also lists them. And the User Attributes are set to "Automatic".

But the writer fails to output the fme values to the database tables. Only the "autocad"/"igds" values are output.

What am I missing here ?

Shouldn't the fme attributes be included in the output ?

Need I do anything else to make this happen ?

Cheers

For fun I appended "autocad_" to the fme attribute names (renamed them), and now it seems they all get output !??

What trickery is afoot here ??


For fun I appended "autocad_" to the fme attribute names (renamed them), and now it seems they all get output !??

What trickery is afoot here ??

Secondary issue: How come fme_dataset defaults to char(50) ?!?

Path names are very often longer than that. On Windows they're char(127).

Using this expression luckily did the trick: (a)TrimRight((a)Value(fme_dataset)(blank)(blank))


Happy New Year.

I guess the writers just strip any and all attributes named fme_... from the output ?


Reply