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