QTOCriteriaNameMappingMapSurface(String, String, ObjectId) Method |
Specifies an actual surface to map to the surface name of a material in the criteria.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void MapSurface(
string materialName,
string surfaceName,
ObjectId mappedSurfaceId
)
Public Sub MapSurface (
materialName As String,
surfaceName As String,
mappedSurfaceId As ObjectId
)
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.
ExceptionsException | Condition |
---|
ArgumentException |
Throw when:
- materialName doesn't existed in criteria.
- surfaceName doesn't contain by material in criteria.
- mappedSurfaceId is not the ObjectId of Surface.
|
See Also