Model.CreateBillOfMaterials Method
Public Function CreateBillOfMaterials( _
ByVal entities As EntityList, _
ByVal blocks As BlockKeyedCollection, _
ByVal partsOnly As Boolean, _
Optional ByVal maxLevel As Integer = int.MaxValue _
) As DataTable
This language is not supported or no code example is available.
public DataTable CreateBillOfMaterials(
EntityList entities,
BlockKeyedCollection blocks,
bool partsOnly,
int maxLevel = int.MaxValue
)
This language is not supported or no code example is available.
Parameters
- entities
- EntityList
The entities collection.
- blocks
- BlockKeyedCollection
The blocks collection.
- partsOnly
- bool
If true, only the block containing geometry are taken in account to create the table.
- maxLevel
- int
The maximum depth level of the Bill of Materials.
Return Value
DataTableA DataTable containing the Bill of Materials data.