Skip to main content
Question

Choosing a particular layer when converting CAD file to ESRI feature class,


jamal
Forum|alt.badge.img+5
Choosing a particular layer when converting CAD file to ESRI feature class,

 

 

I couldn’t figure out how can the end user choose a particular layer when converting CAD to feature class.

 

 

It appears the “feature type” can’t be set as “user parameter”

 

 

Then how the user can select a particular layer when converting CAD to feature class?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Thank you

 

 

Best

 

 

Jamal

10 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • June 27, 2014
what more..

 

 

If u put the workspacecaller calling the Acad reader with list enabled in a customtransformer and make the choicelistparameter a userparameter and then save this customtransformer as a customtransformer using (save as in menubar) U have a customtransformer with layerchoice:

 

 


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • June 27, 2014
here is a custom layerviewer

 

 

 

 

Comunityborder is selected (GEMEENTEGRENS (dutch)) i

jamal
Forum|alt.badge.img+5
  • Author
  • June 27, 2014
Thank you GIO for the help,

 

 

perfect, the layers now appear in the end-user dialog box

 

 

 

 

 

 

 

 

 

 

 

BUT the issue now is that if the dwg file is changed then its layers don’t appear. The layers of the previous dwg are kept!

 

 

 

 

 

How this issue can be controlled?

jamal
Forum|alt.badge.img+5
  • Author
  • June 27, 2014
Sorry GIO, your screenshots are not clear.

 

 

If you try to decrease the width of the screenshots (like clipping them) then they gets much better as they are inserted in the FME forum

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • June 27, 2014
Hi Jaml,

 

 

U can zoom in your browser.

 

 

I wil try to figure out nexttime how to update the list if file is changed.(after weekend..i'm of from work now).

 

 

BYe and have a nice weekend.

 

 


jamal
Forum|alt.badge.img+5
  • Author
  • June 27, 2014
You too. Thank you.

 

 

I would be great if you find out a way to update the list as the dwg file is changed, of course, after the week end

 

 

Best

 

 

Jamal

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • June 30, 2014
Hi Jamal,

 

 

i can't find anything that makes it possible to change the schema list after changing the file, alas.

 

 

You would have to make your own interface using python or tcl i guess.....

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • July 1, 2014

jamal
Forum|alt.badge.img+5
  • Author
  • July 4, 2014
Thank you very much Gio,

 

 

I tried to followed the instructions that aim at showing a parameter to choose layers of AutoCAD files but sounds not to work.

 

 

What might be the issue here?

 

 

 

 

 

 

 

 

 


jamal
Forum|alt.badge.img+5
  • Author
  • July 26, 2014
Hi GIO,

 

 

I got the root solution from an expert. Simple, in the “add reader”, the format should be chosen as “generic (any format)” with “single merged feature type” as workflow options.

 

 

 

 

 

 

 

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings