BoM helpers#
This section provides an introduction to the BoM helpers. These represent a BoM (bill of materials) in Ansys Granta MI 2301 XML BoM format, and they support reading and writing these files.
The BillOfMaterials
represents the root object in a BoM hierarchy and can
be used to programmatically generate a BoM.
To aid in manipulation of these objects, builders have been provided for Granta MI object references. These assist in the correct formation of these reference objects, depending on how you need to refer to these entities.
Serialization and deserialization of BoM objects can be performed using the BoMHandler
class. This class exposes methods to read a BoM from a string or a file and to write to a string or a file. The resulting BoM can be
passed to either a Sustainability or a Compliance query.
Added in version 2.0.
- BoM object model
BillOfMaterials
DimensionType
PseudoAttribute
Category
PartialTableReference
MIAttributeReference
MIRecordReference
EndOfLifeFate
UnittedValue
Location
ElectricityMix
MobileMode
StaticMode
UtilitySpecification
ProductLifeSpan
UsePhase
BoMDetails
TransportStage
Specification
Substance
Process
Material
Part
- BoM reference builders
- BoM handler
- BoM schemas