Dim Dense95
I completed a Model that overlays several polygon layers, clips out a specified section, dissolves according to certain attributes and sums the acreage. What I want to do is add another Calculate Field entry into my Model, but I can't get the Field Calculation correct. The Fields I want to select from are [CAUVLCType] and [MUSYM]. The fields are coded-value domains and descriptions. What I've tried is similar to Label expressions:Functionif ([CAUVLCType] = 'CROP' AND [MUSYM] = 'NpA') then[Soil_Acreage] * 460elseif ([CAUVLCType] = 'WOOD' AND [MUSYM] = 'NpA') then[Soil_Acreage] * 100End ifEnd FunctionCan someone provide me a couple lines of code that will work on a copy/paste basis which I can repeat and enter different field descriptions as needed?!Thanks, Jeff
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.