Gets MaterialSection objectId by MaterialList GUID and Material GUID.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public ObjectId GetMaterialSectionId(
	Guid materialListGuid,
	Guid materialGuid
)
Visual Basic
Public Function GetMaterialSectionId ( _
	materialListGuid As Guid, _
	materialGuid As Guid _
) As ObjectId
Visual C++
public:
ObjectId GetMaterialSectionId(
	Guid materialListGuid, 
	Guid materialGuid
)

Parameters

materialListGuid
Type: System..::..Guid
The GUID of materialList.
materialGuid
Type: System..::..Guid
The GUID of material.

Remarks

The method will return ObjectId.Null if the specified MaterialSection does not exist.

See Also