Is This Content Helpful?
We're glad to know this article was helpful.
If you set 'Assign base heights by' to Surface on the 3D Theme Properties dialog box, the grid data disappears from the display.
The elevation, or Z values are stored in different units than the X and Y values. For example, if a grid's map units are decimal degrees and the elevation units are meters, the grid will be invisible.
Apply a Z factor to convert the elevation value into the same units as the map units. The Z factor is the number of ground units in one Z unit.
v = av.getactivedoc
g = v.getactivethemes.get(0)
ext = g.returnextent
theLatitude = ext.getbottom
zFactor = ( 1 / (6370997*(theLatitude.Cos))*(Number.GetPi/180)) * 3600
This will calculate approximately .00001 for decimal degree grids. For 250K decimal second grids, you could modify the above, or use 0.1 or 0.2 as an initial z factor setting.