Share

QTOCriteriaNameMapping.MapCorridorShape(String, ObjectId, String) Method

Specifies an actual corridor shape to map to all shape with specified name in the criteria.



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

Syntax

C#

public void MapCorridorShape(
	string shapeName,
	ObjectId mappedCorridorId,
	string mappedShapeName
)

VB

Public Sub MapCorridorShape ( 
	shapeName As String,
	mappedCorridorId As ObjectId,
	mappedShapeName As String
)

C++

public:
void MapCorridorShape(
	String^ shapeName, 
	ObjectId mappedCorridorId, 
	String^ mappedShapeName
)

Parameters

shapeName  String
Specifies the shape name that is used in the criteria.
mappedCorridorId  ObjectId
Specifies the ObjectId of an actual corridor.
mappedShapeName  String
Specifies the shape name of mapped corridor to map to the shape name in the criteria.

Exceptions

ExceptionCondition
ArgumentException Throw when:
  1. mappedCorridorId is not the ObjectId of Corridor.
  2. mappedShapeName is not a valid Shape name for corridor.

See Also

Reference

Was this information helpful?