Share

TinSurface.PasteSurface Method

Pastes a surface into the current surface.



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

Syntax

C#

public SurfaceOperationPasteSurface PasteSurface(
	ObjectId surfaceId
)

VB

Public Function PasteSurface ( 
	surfaceId As ObjectId
) As SurfaceOperationPasteSurface

C++

public:
SurfaceOperationPasteSurface^ PasteSurface(
	ObjectId surfaceId
)

Parameters

surfaceId  ObjectId
 

Return Value

SurfaceOperationPasteSurface

Exceptions

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

Remarks

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

See Also

Reference

Was this information helpful?