Gets the Grid properties of the surface.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public GridSurfaceProperties GetGridProperties()
Visual Basic
Public Function GetGridProperties As GridSurfaceProperties
Visual C++
public:
virtual GridSurfaceProperties^ GetGridProperties() sealed

Implements

IGridSurface..::..GetGridProperties()()()()

Examples

CopyC#
1GridSurfaceProperties gridProps = ((GridSurface)oSurface).GetGridProperties();
2propsMsg = "\\Grid Surface Properties for " + oSurface.Name;
3propsMsg += "\n-------------------";
4propsMsg += "\n X Spacing: " + gridProps.SpacingX;
5propsMsg += "\n Y Spacing: " + gridProps.SpacingY;
6propsMsg += "\n Orientation: " + gridProps.Orientation;
7propsMsg += "\n--";
8
9editor.WriteMessage(propsMsg);

See Also