Get corridor shape which was mapped to the shape name of a material in the criteria.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public void GetMappedCorridorShape(
	string materialName,
	string shapeName,
	ref ObjectId mappedCorridorId,
	ref string mappedShapeName
)
Visual Basic
Public Sub GetMappedCorridorShape ( _
	materialName As String, _
	shapeName As String, _
	ByRef mappedCorridorId As ObjectId, _
	ByRef mappedShapeName As String _
)
Visual C++
public:
void GetMappedCorridorShape(
	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%
The ObjectId of mapped corridor.
mappedShapeName
Type: System..::..String%
The mapped shape name.

Exceptions

ExceptionCondition
System..::..ArgumentException Throw when:
  1. materialName doesn't existed in criteria.
  2. shapeName doesn't contain by material in criteria.

See Also