Question

Create parameter for user to specify field for 3DForcer and CAD levels

  • 20 December 2019
  • 1 reply
  • 0 views

I have a simple workspace that converts shapefile contours to CAD (dwg). When I create this workspace I specify which I field from my shapefile will be used to make it 3D (using the 3D forcer) and also which field I will use to define the Layers in the CAD file. These fields will be the same.

I'm converting my workspace to a template so my non GIS/FME guys can do the conversions themselves. I have my input and output parameters created but I'm not sure how to create a parameter where a user can specify the field from the shapefile. Can something like this be done in FME?

Here is my workspace:

I'd like the user to be able to select the field from a drop down when they hit run:


1 reply

Userlevel 1
Badge +10

Hi @tigerwoulds, if I understand correctly, you can do this by selecting Type = "Attribute Name" when creating or editing your parameter:

Then assign this parameter to the 3DForcer Elevation parameter:

This should hopefully do the trick!

Reply