Creates a new TinSurface from corridor surface.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public static ObjectId CreateFromCorridorSurface( string surfaceName, CorridorSurface corridorSurface )
Visual Basic
Public Shared Function CreateFromCorridorSurface ( _ surfaceName As String, _ corridorSurface As CorridorSurface _ ) As ObjectId
Visual C++
public: static ObjectId CreateFromCorridorSurface( String^ surfaceName, CorridorSurface^ corridorSurface )
Parameters
- surfaceName
- Type: System.String
The new surface name.
- corridorSurface
- Type: Autodesk.Civil.DatabaseServices.CorridorSurface
The corridor surface created from.
Exceptions
Exception | Condition |
---|---|
System.ArgumentNullException | Thrown when specified corridor surface or surface name is null. |
System.ArgumentException | Thrown when the specified surface name is empty string or duplicate. |