QTOCriteriaNameMappingMapSurface(String, String, ObjectId) Method

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

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public void MapSurface(
	string materialName,
	string surfaceName,
	ObjectId mappedSurfaceId
)

Parameters

materialName  String
Specifies the material name that is referenced by the corresponding surface in the list.
surfaceName  String
Specifies the surface name that is used in the criteria.
mappedSurfaceId  ObjectId
Specifies the ObjectId of an actual surface to map to the surface name in the criteria.
Exceptions
ExceptionCondition
ArgumentException Throw when:
  1. materialName doesn't existed in criteria.
  2. surfaceName doesn't contain by material in criteria.
  3. mappedSurfaceId is not the ObjectId of Surface.
See Also