Skip to main content

HI All,

I have prepared a workspace that allows the user to clip a LAS file and export it to LAS or DWG. I was thinking to use the GenericWriter to include the options for the user….but the transformer fails when trying to export as LAS. The reason for that is because I have included a PointCloudToPointCoercer right before the writer to make sure the points are written to DWG however the fme_point geometry isn’t allowed by the LAS format as requires point cloud geometry. Here is a visual screenshot of the workspace:

 

I have included (for now) an additional LAS writer that skips the PointCloudToPointCoercer and writes the LAS file as point cloud geometry…

How can I modify the User Parameters to allow the user to chose one writer (LAS) or the other (DWG)? 

 

A Choice User Parameters and put a Tester or TestFilter before sending it to your Writers so based on what the user choose it will send it to the Format that he wants.


Thanks ​@carlm brilliant! it has worked perfectly 🙂 below an screenshot for completeness,