Export to CAD in Model Builder

72
0
06-27-2019 03:38 PM
Occasional Contributor

We have a model that runs within ArcMap where it takes the selected features from several feature classes in an ArcMap session and converts them to a dwg using the export to CAD tool. The main model consists of a nested model called VCSetup as shown in the screenshot.  VCSetup takes the selected features, uses "Get Count" to get the number of features and then the "Calculate Value" is used as a boolean where if the number of selected features is greater than 0 and less than 10000, it is true and else, it is false.  Calculate Value is set as a precondition to the next step, "Copy Features". These features are then set as parameters to feed the export to CAD tool.  The issue is, if the "Calculate Value" is false (no features from a feature class are selected), the "Copy Features" does not run and therefore, the Export to CAD tool fails as it says "Error 000229: Cannot open in_memory\Water_Pipes".  How do we get around this?

Reply
0 Kudos
0 Replies