Specifies an actual corridor shape to map to the shape name of a material in the criteria.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public void MapCorridorShape(
string materialName,
string shapeName,
ObjectId mappedCorridorId,
string mappedShapeName
) |
Visual Basic |
---|
Public Sub MapCorridorShape ( _
materialName As String, _
shapeName As String, _
mappedCorridorId As ObjectId, _
mappedShapeName As String _
) |
Visual C++ |
---|
public:
void MapCorridorShape(
String^ materialName,
String^ shapeName,
ObjectId mappedCorridorId,
String^ mappedShapeName
) |
Parameters
- materialName
- Type: System..::..String
Specifies the material name that is referenced by the corresponding corridor shape in the list.
- shapeName
- Type: System..::..String
Specifies the shape name that is used in the criteria.
- mappedCorridorId
- Type: ObjectId
Specifies the ObjectId of an actual corridor.
- mappedShapeName
- Type: System..::..String
Specifies the shape name of mapped corridor to map to the shape name in the criteria.
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Throw when:
- materialName doesn't existed in criteria.
- shapeName doesn't contain by material in criteria.
- mappedCorridorId is not the ObjectId of Corridor.
- mappedShapeName is not a valid Shape name for corridor.
|
See Also