Share

SampleLine.GetMaterialSectionId Method

Gets MaterialSection objectId by MaterialList GUID and Material GUID.



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

Syntax

C#

public ObjectId GetMaterialSectionId(
	Guid materialListGuid,
	Guid materialGuid
)

VB

Public Function GetMaterialSectionId ( 
	materialListGuid As Guid,
	materialGuid As Guid
) As ObjectId

C++

public:
ObjectId GetMaterialSectionId(
	Guid materialListGuid, 
	Guid materialGuid
)

Parameters

materialListGuid  Guid
The GUID of materialList.
materialGuid  Guid
The GUID of material.

Return Value

ObjectId

Remarks

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

See Also

Reference

Was this information helpful?