Creates a new instance of a TinVolumeSurface and adds it to the database where the surface specified by baseSurfaceId is located.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( string surfaceName, ObjectId baseSurfaceId, ObjectId comparisonSurfaceId, ObjectId styleId )
VB
Public Shared Function Create ( surfaceName As String, baseSurfaceId As ObjectId, comparisonSurfaceId As ObjectId, styleId As ObjectId ) As ObjectId
C++
public: static ObjectId Create( String^ surfaceName, ObjectId baseSurfaceId, ObjectId comparisonSurfaceId, ObjectId styleId )
Parameters
- surfaceName String
- The name of the new TinVolumeSurface.
- baseSurfaceId ObjectId
- The ObjectId of the base surface for the TinVolumeSurface.
- comparisonSurfaceId ObjectId
- The ObjectId of the comparison (top) surface for the TinVolumeSurface.
- styleId ObjectId
- The ObjectId of the SurfaceStyle for the TinVolumeSurface.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|