QTOCriteriaNameMappingGetMappedSurfaceId Method |
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.8.0.292
Syntaxpublic ObjectId GetMappedSurfaceId(
string materialName,
string surfaceName
)
Public Function GetMappedSurfaceId (
materialName As String,
surfaceName As String
) As ObjectId
public:
ObjectId GetMappedSurfaceId(
String^ materialName,
String^ surfaceName
)
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.
Return Value
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Throw when:
- materialName doesn't existed in criteria.
- surfaceName doesn't contain by material in criteria.
|
See Also