glen88

Predefined units with Calculate geometry in model builder

Discussion created by glen88 on Nov 25, 2011
Latest reply on Nov 26, 2011 by glen88
Hi,

I am trying to set predefined units for my output in model builder using the calculate field tool. I am using VB code to obtain the area of a number of polygon areas but i want the output in the TOC to display in hectares without having to change it manually outside the model. Is this possible in 9.2?

This is what i have at the moment.

Dim Output as long
Dim pArea as Iarea
Set pArea = [shape]
Output = pArea.area

I'm only new to GIS and any help would be appreciated, Thanks.

Glen

Outcomes