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.4.2516.0
Syntax
C# |
---|
public void MapSurface(
string materialName,
string surfaceName,
ObjectId mappedSurfaceId
) |
Visual Basic |
---|
Public Sub MapSurface ( _
materialName As String, _
surfaceName As String, _
mappedSurfaceId As ObjectId _
) |
Visual C++ |
---|
public:
void MapSurface(
String^ materialName,
String^ surfaceName,
ObjectId mappedSurfaceId
) |
Parameters
- materialName
- Type: System..::..String
Specifies the material name that is referenced by the corresponding surface in the list.
- surfaceName
- Type: System..::..String
Specifies the surface name that is used in the criteria.
- mappedSurfaceId
- Type: ObjectId
Specifies the ObjectId of an actual surface to map to the surface name in the criteria.
Exceptions
Exception | Condition |
---|
System..::..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