COMObject unknown

    Table of contents
    You are currently comparing two old versions - only when you are comparing against the latest version can you revert. Return to version archive.

    Combined revision comparison

    Comparing version 16:27, 18 Jan 2011 by matt with version 17:04, 18 Jan 2011 by matt.

    ...

    While o4w python is:

    D:\GIS\ag-canada
    D:\GIS\AK-elev
    D:\GIS\AlaskaYukon
    ...
    D:\GIS\Planimetric250k
    D:\GIS\Snippets
    D:\GIS\Tissots
    D:\GIS\yt30mdem
    

    ...

    Needless to say, in this instance o4w is the desired result.

    Case B

    import arcgisscripting
    gp = arcgisscripting.create(9.3)
    
    # report attribute names for specified feature class
    fc = '../scratch/nts_grid.shp'
    try:
        print '%s fields are' % (fc)
        for field in gp.ListFields(fc):
            print field.Name
    except:
        print gp.GetMessages(2)
    

    ...

    Output with ArcGIS python:

    ../scratch/nts_grid.shp fields are
    FID
    Shape
    CODE
    ACCURACY
    VALDATE
    FLOODED
    TILING
    Shape_Leng
    Shape_Area

    ...

    and o4w python:

    ../scratch/nts_grid.shp fields are
    
    
    

    Version from 16:27, 18 Jan 2011

    This revision modified by matt (Ban)

    ...


    Version as of 17:04, 18 Jan 2011

    This revision modified by matt (Ban)

    ...

    While o4w python is:

    D:\GIS\ag-canada
    D:\GIS\AK-elev
    D:\GIS\AlaskaYukon
    ...
    D:\GIS\Planimetric250k
    D:\GIS\Snippets
    D:\GIS\Tissots
    D:\GIS\yt30mdem
    

    ...

    Needless to say, in this instance o4w is the desired result.

    Case B

    import arcgisscripting
    gp = arcgisscripting.create(9.3)
    
    # report attribute names for specified feature class
    fc = '../scratch/nts_grid.shp'
    try:
        print '%s fields are' % (fc)
        for field in gp.ListFields(fc):
            print field.Name
    except:
        print gp.GetMessages(2)
    

    ...

    Output with ArcGIS python:

    ../scratch/nts_grid.shp fields are
    FID
    Shape
    CODE
    ACCURACY
    VALDATE
    FLOODED
    TILING
    Shape_Leng
    Shape_Area

    ...

    and o4w python:

    ../scratch/nts_grid.shp fields are
    
    
    

        Send feedback