Adds an empty corridor surface with name and style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public CorridorSurface Add( string corridorSurfaceName, ObjectId styleId )
Visual Basic
Public Function Add ( _ corridorSurfaceName As String, _ styleId As ObjectId _ ) As CorridorSurface
Visual C++
public: CorridorSurface^ Add( String^ corridorSurfaceName, ObjectId styleId )
Parameters
- corridorSurfaceName
- Type: System.String
Name used to create the corridor surface.
- styleId
- Type: ObjectId
Name used to create the corridor surface.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the surface name or the style is invalid. |