Skip to main content
Question

Choice multiple and generic writer

  • January 21, 2020
  • 5 replies
  • 30 views

Forum|alt.badge.img

Hi folks

I created a "choice multiple (with alias)" parameter, for several writer's format (MID-MID, DWG ...)

and I would try to use with a Generic Format Writer, for instance, to produce a DWG and a MIF-MID simultaneously.

when I choose more than one format, it do not work.

Is it normal ? I attach the workspace

regards

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

redgeographics
Celebrity
Forum|alt.badge.img+62

Yes, I'm pretty sure this is normal behaviour. A Generic writer can only write one format at a time.


erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • January 21, 2020

Maybe not the solution you are looking for, but having the same issue I resolved it this way:

Using the published "choice multiple" parameter, I used Tester transformers to check if the format was in the parameter.

Then I used the actual writers for the different formats (gives you more control than the Generic writer).

So if Tester (test format contains ACAD) passed, then use the DWG writer.

Another Tester (test format contains CSV) passed, then use the CSV writer.

And so on.

Not as flexible as the Generic writer, but got the workspace to write out multiple formats at the same time.

Hope this helps.


redgeographics
Celebrity
Forum|alt.badge.img+62

Maybe not the solution you are looking for, but having the same issue I resolved it this way:

Using the published "choice multiple" parameter, I used Tester transformers to check if the format was in the parameter.

Then I used the actual writers for the different formats (gives you more control than the Generic writer).

So if Tester (test format contains ACAD) passed, then use the DWG writer.

Another Tester (test format contains CSV) passed, then use the CSV writer.

And so on.

Not as flexible as the Generic writer, but got the workspace to write out multiple formats at the same time.

Hope this helps.

I like that solution!


Forum|alt.badge.img
  • Author
  • January 22, 2020

Maybe not the solution you are looking for, but having the same issue I resolved it this way:

Using the published "choice multiple" parameter, I used Tester transformers to check if the format was in the parameter.

Then I used the actual writers for the different formats (gives you more control than the Generic writer).

So if Tester (test format contains ACAD) passed, then use the DWG writer.

Another Tester (test format contains CSV) passed, then use the CSV writer.

And so on.

Not as flexible as the Generic writer, but got the workspace to write out multiple formats at the same time.

Hope this helps.

Thanx a lot ! I will try in this project.


Forum|alt.badge.img
  • Author
  • January 23, 2020

Maybe not the solution you are looking for, but having the same issue I resolved it this way:

Using the published "choice multiple" parameter, I used Tester transformers to check if the format was in the parameter.

Then I used the actual writers for the different formats (gives you more control than the Generic writer).

So if Tester (test format contains ACAD) passed, then use the DWG writer.

Another Tester (test format contains CSV) passed, then use the CSV writer.

And so on.

Not as flexible as the Generic writer, but got the workspace to write out multiple formats at the same time.

Hope this helps.

I've tried the solution, and it worked pretty well, thanx again.