garsdaledesign

Using an attribute in place of the percentage for a stochastic rule

Discussion created by garsdaledesign on Sep 27, 2012
Latest reply on Oct 5, 2012 by MBuehler-esristaff
I was wondering whether there was a way of allowing the use of an named attribute, say "parking_occupancy" in the stochastic rule.

Instead of :

20% : placecar
else: NIL

I could use (I know this doesn't work, but you get the idea)

attr parking_occupancy = 25

parking_occupancy% : placecar
else : NIL

This would mean I could adjust the variable in the inspector and not the rule file... am I missing something obvious? Is there a workaround?

Outcomes