Tagged Questions
2
votes
1answer
36 views
Syntax question for ArcGIS ICalculator object
This is a silly question, but I have this code snippet that I can't figure out:
'Define a calculator for NewArea field
pCalculator = New Calculator
With pCalculator
.Cursor = pCursor
...
3
votes
1answer
158 views
Is there a (better) way to debug Visual Basic Code Block in calculate field using ArcGIS?
From time to time, I have to use Visual Basic in Calculate field.
As the code get bigger, the more complicated is to debug it. And ArcGIS (9.3) does not help as the error messages are, in the best ...
1
vote
0answers
148 views
How to calculate column average in Arcmap using VBA [closed]
I'm really new in gis and programming... So could anyone write VBA code for counting average.
For example I have 3 columns which are named as JAN, FEB, MART...Each of them have 50 values in column. ...
0
votes
2answers
309 views
How to auto populate multiple fields in attribute table?
i have Feature Class Buildings, it has many fields like ...
3
votes
2answers
392 views
Adding VBA into a Python script generated by ModelBuilder
I have created a model that does a calculate field and have used VBA in the code block. But when I export it to Python, it doesn't work.
Here is the VBA code:
new_value = ...
2
votes
1answer
887 views
How to count and record the number of entities with the same name in the field calculator?
I have a question with ArcGIS 9.2. In an attribute table the column [name] includes the name of every place in this layer. Next to that (in columns [numbers]) there should be recorded how often a ...