Adds an empty corridor surface with name and style.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public CorridorSurface Add( string corridorSurfaceName, ObjectId styleId )
VB
Public Function Add ( corridorSurfaceName As String, styleId As ObjectId ) As CorridorSurface
C++
public: CorridorSurface^ Add( String^ corridorSurfaceName, ObjectId styleId )
Parameters
- corridorSurfaceName String
- Name used to create the corridor surface.
- styleId ObjectId
- Name used to create the corridor surface.
Return Value
CorridorSurfaceExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the surface name or the style is invalid. |