AnsweredAssumed Answered

Model Builder:  Continue Processing If Features Selected

Question asked by geonetadmin on Aug 26, 2013
Latest reply on Aug 27, 2013 by kafros
Original User: kafros

I have a feature class that may or may not have a number of features selected.  If there are features selected, I want to process them using a Model Builder sequence I have prepared.  How do I check "if features are selected, continue, otherwise stop processing"?  I tried the following from looking at another post, but regardless whether the Boolean Output is "True" or "False", the model still continues processing past the Boolean Output point.  Does anyone have any suggestions to either improve upon my sequence or another solution that will do the checking for selected features?

Attached are two screenshots.  One is the sequence I set up in Model Builder, with the "check for selected features" Calculate Value first, and the second is the code within that Calculate Value tool.

[ATTACH=CONFIG]27006[/ATTACH]

[ATTACH=CONFIG]27007[/ATTACH]

I would assume this is pretty basic, but it's stumping me.  Thank you for any assistance.

Attachments

Outcomes