CorridorSurfaceCollectionAdd(String, ObjectId) Method |
Adds an empty corridor surface with name and style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic CorridorSurface Add(
string corridorSurfaceName,
ObjectId styleId
)
Public Function Add (
corridorSurfaceName As String,
styleId As ObjectId
) As CorridorSurface
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
CorridorSurface
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the surface name or the style is invalid.
|
See Also