Creates a new instance of a GridSurface from a DEM file and adds it to the specified database.
public static ObjectId CreateFromDEM( Database database, string DEMFileName )
Public Shared Function CreateFromDEM ( database As Database, DEMFileName As String ) As ObjectId
public: static ObjectId CreateFromDEM( Database^ database, String^ DEMFileName )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the DEMFileName is empty. |
| SurfaceException | Thrown when the create operation fails. |