The GridSurface type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AddPoint |
Adds a point to the GridSurface.
|
![]() | ComputeFingerPrint |
Compute FingerPrint of the Entity.
(Inherited from Entity.) |
![]() ![]() | Create(Database, String, Double, Double, Double) |
Creates a new instance of a GridSurface and adds it to the specified database.
|
![]() ![]() | Create(String, Double, Double, Double, ObjectId) |
Creates a new instance of a GridSurface and adds it to the database that contains styleId.
|
![]() ![]() | CreateFromDEM(Database, String) |
Creates a new instance of a GridSurface from a DEM file and adds it to the specified database.
|
![]() ![]() | CreateFromDEM(String, ObjectId) |
Creates a new instance of a GridSurface from a DEM file and adds it to the database that contains styleId.
|
![]() | CreateSnapshot |
Creates a snapshot that contains the current state of points and triangles resulting from previous Surface operations.
A snapshot can improve the performance of Surface builds from subsequent operations.
(Inherited from Surface.) |
![]() | DeleteLine |
Deletes a line from the GridSurface object.
|
![]() | DeleteLines |
Deletes multiple lines from the GridSurface object.
|
![]() | DeletePoint |
Deletes a point from the GridSurface object.
|
![]() | DeletePoints |
Deletes multiple points from the GridSurface object.
|
![]() | ExportToDEM(String, String, Double, ExportDetermineElevationType) |
Exports the Surface to a DEM file.
(Inherited from Surface.) |
![]() | ExportToDEM(String, String, Double, ExportDetermineElevationType, Boolean, Single) |
Exports the surface to a DEM file, with an optional custom value for null elevation.
(Inherited from Surface.) |
![]() | ExtractBorder |
Extracts the surface border information from the terrain surface.
|
![]() | ExtractContours(Double) |
Extracts the surface contour information from the terrain surface at a specified elevation interval.
|
![]() | ExtractContours(Double, ContourSmoothingType, Int32) |
Extracts the surface contour information from the terrain surface at a specified elevation interval with smoothing.
|
![]() | ExtractContours(Double, Double, Double) |
Extracts the surface contour information from the terrain surface at a specified elevation range and interval.
|
![]() | ExtractContours(Double, Double, Double, ContourSmoothingType, Int32) |
Extracts the surface contour information from the terrain surface at a specified elevation range and interval with smoothing.
|
![]() | ExtractContoursAt(Double) |
Extracts the surface contour information from the terrain surface at a specified elevation.
|
![]() | ExtractContoursAt(Double, ContourSmoothingType, Int32) |
Extracts the surface contour information from the terrain surface at a specified elevation with smoothing.
|
![]() | ExtractGridded |
Extracts the surface grid information from the terrain surface.
|
![]() | ExtractMajorContours(SurfaceExtractionSettingsType) |
Extracts the surface major contour information from the terrain surface.
|
![]() | ExtractMajorContours(SurfaceExtractionSettingsType, ContourSmoothingType, Int32) |
Extracts the surface major contour information from the terrain surface.
|
![]() | ExtractMinorContours(SurfaceExtractionSettingsType) |
Extracts the surface minor contour information from the terrain surface.
|
![]() | ExtractMinorContours(SurfaceExtractionSettingsType, ContourSmoothingType, Int32) |
Extracts the surface minor contour information from the terrain surface.
|
![]() | ExtractWatershed |
Extracts the surface watershed information from the terrain surface.
|
![]() | FindCellAtXY |
Finds the grid cell containing location (x, y).
|
![]() | FindDirectionAtXY |
Gets the direction of the Surface at the specified location (x, y).
(Inherited from Surface.) |
![]() | FindEdgeAtXY |
Finds out the closest GridSurfaceEdge near location (x, y).
|
![]() | FindElevationAtXY |
Gets the elevation of the Surface at the specified location (x, y).
(Inherited from Surface.) |
![]() | FindPointsAlongLine |
Gets the points on the surface along the specified line segment.
(Inherited from Surface.) |
![]() | FindSlopeAtXY |
Gets the slope of the Surface at the specified location (x, y).
(Inherited from Surface.) |
![]() | FindVertexAtXY |
Finds out the closest GridSurfaceVertex near location (x, y).
|
![]() | GetBoundedVolumes(Point3dCollection) |
Calculates the volume of an area defined by several points.
(Inherited from Surface.) |
![]() | GetBoundedVolumes(Point3dCollection, Double) |
Calculate the volume of an area defined by several points.
(Inherited from Surface.) |
![]() | GetCells |
Gets all cells in the GridSurface.
|
![]() | GetGeneralProperties |
Gets the general properties of the surface.
(Inherited from Surface.) |
![]() | GetGridProperties |
Gets the Grid properties of the surface.
|
![]() | GetIntersectionPoint |
Gets the intersection point with surface by the specified point and vector.
(Inherited from Surface.) |
![]() | GetReferenceInfo |
For Data Shortcut reference entity (IsReferenceObject == true), gets the entity's reference information.
(Inherited from Entity.) |
![]() | GetTerrainProperties |
Gets the Terrain properties of the surface.
|
![]() | GetVertices |
Gets all vertices in the GridSurface.
|
![]() | RaisePoints |
Raises or lowers multiple points in the GridSurface object.
|
![]() | RaiseSurface |
Raises or lowers the surface.
|
![]() | Rebuild |
Rebuilds the surface by processing all the operations one by one in the list.
(Inherited from Surface.) |
![]() | RebuildSnapshot |
Rebuilds the snapshot for the surface.
(Inherited from Surface.) |
![]() | RemoveSnapshot |
Removes the existing snapshot for the surface.
(Inherited from Surface.) |
![]() | SampleElevations(ObjectId) |
Gets the sampled points along a curve entity.
|
![]() | SampleElevations(Point3d, Point3d) | |
![]() | SetPointElevation |
Sets the elevation of a point in the GridSurface object.
|
![]() | SetPointsElevation |
Sets the elevation of multiple points in the GridSurface object.
|
Properties
Name | Description | |
---|---|---|
![]() | Analysis |
Gets a SurfaceAnalysis object that exposes the surface analysis properties for the Surface.
(Inherited from Surface.) |
![]() | Application |
Gets the Application. Not currently implemented.
(Inherited from Entity.) |
![]() | AutoRebuild |
Gets or sets whether to rebuild the surface when surface definition is changed.
(Inherited from Surface.) |
![]() | BoundariesDefinition |
Gets the collection of boundaries associated with the Surface.
(Inherited from Surface.) |
![]() | BuildOptions |
Gets an object that encapsulates options applied to building or re-building a Surface.
(Inherited from Surface.) |
![]() | Cells |
Gets all visible cells in the GridSurface.
|
![]() | DEMFilesDefinition | |
![]() | Description |
Gets or sets the Entity object's description.
(Inherited from Entity.) |
![]() | DisplayName |
Gets the Entity object's display name.
(Inherited from Entity.) |
![]() | Document |
Gets the Document. Not currently implemented.
(Inherited from Entity.) |
![]() | FingerPrint |
Gets or sets FingerPrint of the Entity.
(Inherited from Entity.) |
![]() | FolderId |
Gets the folder ObjectId of the Entity
Returns ObjectId::Null if the Entity is located in root folder
(Inherited from Entity.) |
![]() | HasSnapshot |
Gets a boolean value that specifies whether the surface has a snapshot.
(Inherited from Surface.) |
![]() | IsOutOfDate |
Gets whether this surface is out-of-date.
(Inherited from Surface.) |
![]() | IsReferencedSourceExisting |
For reference object (IsReferenceObject == true), it will try to get its source entity while opening a drawing.
This indicates whether the reference object has source entity.
(Inherited from Entity.) |
![]() | IsReferenceObject |
Gets whether the Entity is a reference object. A reference object is
located in another drawing, and linked using a data shortcut or Vault.
If the entity is native to the current drawing this property returns false;
if it is being referenced via data shortcuts or AutoCAD Vault it returns true.
(Inherited from Entity.) |
![]() | IsReferenceStale |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is stale.
(Inherited from Entity.) |
![]() | IsReferenceSubObject |
For reference objects (IsReferenceObject == true), gets whether the Entity is a reference subobject.
For example, when iterating through the structure of a pipe network referenced from another drawing,
this property is true for each entity.
(Inherited from Entity.) |
![]() | IsReferenceValid |
For reference objects (IsReferenceObject == true), gets whether the Entity object's reference is valid.
(Inherited from Entity.) |
![]() | IsSnapshotOutOfDate |
Gets whether the snapshot in the surface is out-of-date.
(Inherited from Surface.) |
![]() | IsUsed |
Gets whether the style is used by other objects in the current drawing.
(Inherited from Entity.) |
![]() | IsVolumeSurface |
Gets whether the surface is a volume surface.
(Inherited from Surface.) |
![]() | Lock |
Gets or sets whether the Civil 3D GUI shows this surface as locked.
(Inherited from Surface.) |
![]() | Masks |
Gets all the masks in the Surface.
(Inherited from Surface.) |
![]() | Name |
Gets or sets the Entity object's name.
(Inherited from Entity.) |
![]() | Operations |
Gets the operation list for the Surface.
(Inherited from Surface.) |
![]() | ShowToolTip |
Gets or sets whether to show tooltips for the Entity.
(Inherited from Entity.) |
![]() | StyleId |
Sets the Surface's style Id.
(Inherited from Surface.) |
![]() | StyleName |
Gets or sets the Entity object's style name.
(Inherited from Entity.) |
![]() | Vertices |
Gets all visible vertices in the GridSurface.
|