Gets the Grid properties of the surface.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public GridSurfaceProperties GetGridProperties()
VB
Public Function GetGridProperties As GridSurfaceProperties
C++
public: virtual GridSurfaceProperties^ GetGridProperties() sealed
Return Value
GridSurfacePropertiesImplements
IGridSurfaceGetGridPropertiesExample
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);