Model.CreateBOMTable Method
Public Function CreateBOMTable( _
ByVal entites As EntityList, _
ByVal blocks As BlockKeyedCollection, _
ByVal itemNumberText As String, _
ByVal partNumberText As String, _
ByVal descriptionText As String, _
ByVal quantityText As String, _
Optional ByVal partsOnly As Boolean = true, _
Optional ByVal flowDirection As flowDirection = Table.flowDirection.Down, _
Optional ByVal maxLevel As Integer = int.MaxValue _
) As Table
This language is not supported or no code example is available.
public Table CreateBOMTable(
EntityList entites,
BlockKeyedCollection blocks,
string itemNumberText,
string partNumberText,
string descriptionText,
string quantityText,
bool partsOnly = true,
flowDirection flowDirection = Table.flowDirection.Down,
int maxLevel = int.MaxValue
)
This language is not supported or no code example is available.
Parameters
- entites
- EntityList
The entities collection.
- blocks
- BlockKeyedCollection
The blocks collection.
- itemNumberText
- string
The text on the header row of the item number column.
- partNumberText
- string
The text on the header row of the part number column.
- descriptionText
- string
The text on the header raw of the description column.
- quantityText
- string
The text on the header raw of the quantity column.
- partsOnly
- bool
If true, only the block containing geometry are taken in account to create the table.
- flowDirection
- flowDirection
The table's flow direction.
- maxLevel
- int
The maximum depth level of the Bill of Materials.
Return Value
TableReturns a Table entity that represents the Bill of Materials.