First you have create a "AeccTinCreationData Object":
Properties:
BaseLayer
Description
Layer
Name
Style
When you finish with this, you can create an "AeccTinSurface" with this sentence:
Set MyTSurf = Surfaces.AddTinSurface _
( AeccTinCreationDataObject)
Now you have a new VOID EMPTY NOTHING tin-surface 😉
but don't worry: you can use many methods:
MyTSurf.PointGroups.Add...
MyTSurf.BreakLines.AddStandardBreakLine...
...
And more
If you create an "AeccSurface" you haven´t possibilities to add points, contours... It´s better use "AeccTinSurface"
See the Civil 3D API help carefully. Sometimes this help is no clear, for example: when you add breaklines :
Public Function AddStandardBreakline( _
ByVal pBreaklineEntities As Variant, _
ByVal Description As String, _
ByVal MidOrdinateDistance As Double _
) As AeccSurfaceBreakline
pBreaklineEntities is a ¿Variant?. Actually it´s an array which elements are ObjectID (from Autocad valid Objects. An ObjectID it´s a Long data number), but the help file doesn´t specify this... Be patient
I´m from Spain and level english it´s no good. Sorry. See you