Raises or lowers the surface.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
Examples
CopyC#
1
2
3ObjectId surfaceId = TinSurface.Create(_acaddoc.Database, "Example Surface");
4TinSurface surface = surfaceId.GetObject(OpenMode.ForWrite) as TinSurface;
5Point3dGenerator p3dgen = new Point3dGenerator();
6Point3dCollection locations = p3dgen.AsPoint3dCollection();
7surface.AddVertices(locations);
8
9
10
11
12GeneralSurfaceProperties surfaceProperties = surface.GetGeneralProperties();
13write("Surface mean elevation before raise: " + surfaceProperties.MeanElevation + "\n");
14double deltaElevation = 10.0;
15surface.RaiseSurface(deltaElevation);
16surfaceProperties = surface.GetGeneralProperties();
17write("Surface mean elevation after raise: " + surfaceProperties.MeanElevation + "\n");
CopyVB.NET
See Also