Tagged Questions
1
vote
0answers
32 views
Calculating the Centroid of polygon in modelbuilder (VBA to Python) [closed]
Got an easy one, that's got me stuck.
I'm moving some models that were created in 9.3.1 to work in 10.
Part of the model is calculating the X coordinate of a polygon to a specified field.
The code ...
3
votes
2answers
394 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 = ...
0
votes
1answer
586 views
Model Builder's VBscript
I use the Model builder to run my model
and I have question
Sub M()
' Create the Geoprocessor object
Dim gp As Object
Set gp = CreateObject("esriGeoprocessing.GPDispatch.1")
' Check out any ...