QTOCriteriaNameMappingMapCorridorShape(String, String, ObjectId, String) Method

Specifies an actual corridor shape to map to the shape name of a material in the criteria.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void MapCorridorShape(
	string materialName,
	string shapeName,
	ObjectId mappedCorridorId,
	string mappedShapeName
)

Parameters

materialName  String
Specifies the material name that is referenced by the corresponding corridor shape in the list.
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. materialName doesn't existed in criteria.
  2. shapeName doesn't contain by material in criteria.
  3. mappedCorridorId is not the ObjectId of Corridor.
  4. mappedShapeName is not a valid Shape name for corridor.
See Also