Pastes a surface into the current surface.

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

Syntax

C#
public SurfaceOperationPasteSurface PasteSurface(
	ObjectId surfaceId
)
Visual Basic
Public Function PasteSurface ( _
	surfaceId As ObjectId _
) As SurfaceOperationPasteSurface
Visual C++
public:
SurfaceOperationPasteSurface^ PasteSurface(
	ObjectId surfaceId
)

Parameters

surfaceId
Type: ObjectId

Remarks

This method can paste all kinds of surface, including TinSurface, GridSurface, TinVolumeSurface, GridVolumeSurface.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  1. The surfaceId is not a valid surface objectId.
  2. The pasted surface has nested (pasted) the current surface.

See Also