Get an ObjectId of Surface which is mapped to the surface name of a material in the criteria.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public ObjectId GetMappedSurfaceId( string materialName, string surfaceName )
Visual Basic
Public Function GetMappedSurfaceId ( _ materialName As String, _ surfaceName As String _ ) As ObjectId
Visual C++
public: ObjectId GetMappedSurfaceId( String^ materialName, String^ surfaceName )
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.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Throw when:
|