GridSurfaceCreateFromDEM(Database, String) Method |
Creates a new instance of a GridSurface from a DEM file and adds it to the specified database.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic 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
)
Parameters
- database Database
- The database where the new GridSurface is created.
- DEMFileName String
- The path of the DEM file.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the DEMFileName is empty.
|
SurfaceException |
Thrown when the create operation fails.
|
Remarks
The default surface style is applied to the new GridSurface object.
See Also