.. _ref_grantami_bomanalytics_bom_eco2412: 24/12 XML BoM types =================== .. currentmodule:: ansys.grantami.bomanalytics.bom_types.eco2412 These models are Python bindings for the Ansys Granta MI 24/12 XML schema. Not all elements are required to define a valid BoM for analysis, and not all elements have an impact on all types of analysis. For information on the relevant items for each analysis type, see :ref:`ref_grantami_bomanalytics_api_index`. These classes are available in the module ``ansys.grantami.bomanalytics.bom_types.eco2412``. The 24/12 XML schema is supported by MI Restricted Substances and Sustainability Reports 2025 R2 and later. .. note:: The following elements are defined in the 24/12 BoM schema but are not supported in this module: * ``NonMIPartReference`` on :class:`~.Part` * ``Annotations`` and ``AnnotationSources`` on :class:`~.BillOfMaterials` This module does not contain classes that correspond to these types and cannot serialize a BoM that includes these elements. It is still possible to deserialize an XML BoM that uses these elements, but these elements cannot be converted to Python objects. See :meth:`~ansys.grantami.bomanalytics._bom_helper.BoMHandler.load_bom_from_file` and :meth:`~ansys.grantami.bomanalytics._bom_helper.BoMHandler.load_bom_from_text` for more details. .. versionadded:: 2.3 The 24/12 XML schema is backwards compatible with the 23/01 XML schema. This version adds support for associating :class:`~.eco2412.TransportStage` and :class:`~.eco2412.Location` information with :class:`~.eco2412.Part` and :class:`~.eco2412.Process` objects via the ``transport_phase`` and ``location`` attributes. .. automodule:: ansys.grantami.bomanalytics.bom_types.eco2412 :inherited-members: :member-order: bysource