I have a modelbuilder model setup that, in short, takes all selected features from ArcMap and exports it to a dwg. I need to add two things to this model which I'm not sure can be done in modelbuilder. The ArcMap document has several feature classes which don't necessarily overlap so first I need the model to run only on the feature classes that HAVE selected features and ignore the rest of the feature classes. Second, I need the model to NOT run if more than 10000 features are selected from any of the feature classes in ArcMap. This can probably be easily done in Python but I have no experience in Python hence I'd like to confirm if it can be done in modelbuilder. If not, I'll have to explore Python.
Edit: I need a statement where if the number of features are greater than 0 and less than 10000 then it should be true and proceed. I think the "Get Count" and "Calculate Value" tools can be used to do this in modelbuilder, just not sure how.
if e < 10000 and e > 0:And if that doesn't work on it's own, try doing that and using the Model Only tool Collect Values and have all the copy features output go to the collect values and then input that tool's output to the export to cad (not sure if the collect values will strip off empty inputs or not but it may...) – John Feb 12 '14 at 18:42