Select to view content in your preferred language

Model error- Converting CAD to FC

1032
2
02-23-2012 05:59 AM
Almuatasim_Ahmed_SaidAl-Hinai
Deactivated User
Hi All,

I have created a model to batch extracting a particular DWG polyline layer to corresponding feature classes. I am getting the resultant polyline feature classes as PolylineZ. How can I modify my model to output feature classes of type Polyline instead of PolylineZ? I tried to disable the Z Values from the Environment Settings but I am getting the following error:

ERROR 999999: Error executing function.
Geometry cannot have Z values.
Failed to execute (Select).


A snapshot from my model is attached. Any help for solving this will be highly appreciated.

Thanks a lot

Asim
Tags (2)
0 Kudos
2 Replies
JakeSkinner
Esri Esteemed Contributor
Hi Asim,

It looks like this is a bug.  The Select tool does not honor 'Z Values' environment variable even though the help states that it does.  As a workaround, I would recommend using the 'Feature Class to Feature Class' tool.  You can apply a SQL Query when exporting the DWG file, and setting the 'Z Values' to 'Disabled' in the environment settings will be honored.
0 Kudos
Almuatasim_Ahmed_SaidAl-Hinai
Deactivated User
Thanks a lot Jskin3

FCtoFC solved my problem.

Really appreciating your help

Asim
0 Kudos