Adds a new corridor shape data with the default value to the material item.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public void AddCorridorShape(
string shapeName
)
Visual Basic
Public Sub AddCorridorShape ( _
shapeName As String _
)
Visual C++
public:
void AddCorridorShape(
String^ shapeName
)
Parameters
- shapeName
- Type: System.String
The name of the corridor shape.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the shape name is duplicated. |
System.InvalidOperationException | Thrown when the property:QuantityType value is not NAMESPACE_CIVILDB::MaterialQuantityType::Structure. |