Gets the Grid properties of the surface.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
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