> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Planned changes and deprecations

This section describes deprecated functionality which will be removed or changed in a future release.

## Functionality deprecated with version 5.0

| Deprecated functionality | Recommended replacement / future functionality |
| - | - |
| Installing `GRANTA_MIScriptingToolkit` | Install `ansys-grantami-core` or `ansys-grantami-backend-soap` |
| `from GRANTA_MIScriptingToolkit import granta as mpy` | Import the streamlined layer with `import ansys.grantami.core as mpy` |
| `import GRANTA_MIScriptingToolkit as gdl` | Import the foundation layer with `import ansys.grantami.backend.soap as gdl` |

## Planned file and picture data changes

The [`BinaryType`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.BinaryType) class, all classes derived from [`BinaryType`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.BinaryType), and the [`AttributeBinary`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeBinary)
`object` property are currently supported, but will be deprecated from version 5.1 and will generate an
[`APIDeprecationWarning`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/exceptions#ansys.grantami.core.mi_meta_classes.APIDeprecationWarning) if used.

The table below lists the preferred [`AttributeBinary`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeBinary) methods and properties to use instead, along with any
planned changes to those replacements. In this table, `include_binary_data` refers to the [`Table.bulk_fetch()`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/table#ansys.grantami.core.mi_tree_classes.Table.bulk_fetch)
argument `include_binary_data`, which is used to control the file and picture representation.
`include_binary_data = True` exports the binary data, and `include_binary_data = False` exports a URL.

| Planned deprecation | Preferred replacement | Preferred replacement behavior changes |
| - | - | - |
| [`AttributeBinary`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeBinary) `object` | No replacement | None |
| [`BinaryType.load()`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.BinaryType.load) | [`AttributeFile.load()`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeFile.load) or [`AttributePicture.load()`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributePicture.load) | None |
| [`BinaryType.save()`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.BinaryType.save) | [`AttributeFile.save()`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeFile.save) or [`AttributePicture.save()`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributePicture.save) | None |
| [`BinaryType.is_empty`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.BinaryType.is_empty) | [`AttributeBinary.is_empty()`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeBinary.is_empty) | None |
| [`BinaryType.binary_data`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.BinaryType.binary_data) | [`AttributeBinary.binary_data`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeBinary.binary_data) | None |
| [`BinaryType.url`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.BinaryType.url) | [`AttributeBinary.url`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeBinary.url) | \* v5.0: [`AttributeBinary.url`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeBinary.url) returns [`None`](https://docs.python.org/3/library/constants.html#None) if binary data is exported. \* v5.1: An [`APIDeprecationWarning`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/exceptions#ansys.grantami.core.mi_meta_classes.APIDeprecationWarning) will be raised before returning [`None`](https://docs.python.org/3/library/constants.html#None). \* Later release: An exception will be raised. |
| [`BinaryType.value`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.BinaryType.value) after `include_binary_data = True` | [`AttributeBinary.value`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeBinary.value) | \* v5.0: [`AttributeBinary.value`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeBinary.value) returns binary data only and raises a   [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) if binary data is not exported. \* v5.1: An [`APIDeprecationWarning`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/exceptions#ansys.grantami.core.mi_meta_classes.APIDeprecationWarning) will be raised before the exception. \* Later release: No exception will be raised. The property will return either the   URL or binary data depending on the export type, or [`None`](https://docs.python.org/3/library/constants.html#None) if the attribute is empty. |
| [`BinaryType.value`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.BinaryType.value) after `include_binary_data = False` | No replacement | |
| [`BinaryType.mime_file_type`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.BinaryType.mime_file_type) | [`AttributeBinary.mime_file_type`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeBinary.mime_file_type) | None |
| [`File.file_name`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.File.file_name) | [`AttributeFile.file_name`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeFile.file_name) | None |
| [`File.description`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/supporting#ansys.grantami.core.mi_attribute_value_classes.File.description) | [`AttributeFile.description`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/attribute-values#ansys.grantami.core.mi_attribute_value_classes.AttributeFile.description) | None |

Similar [`PictureValue`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/tabular#ansys.grantami.core._mi_tabular_value_classes.PictureValue), [`LocalPictureValue`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/tabular#ansys.grantami.core._mi_tabular_value_classes.LocalPictureValue), [`FileValue`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/tabular#ansys.grantami.core._mi_tabular_value_classes.FileValue), and [`LocalFileValue`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/tabular#ansys.grantami.core._mi_tabular_value_classes.LocalFileValue) tabular
cell behavior will also be deprecated from version 5.1 and will generate an [`APIDeprecationWarning`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/exceptions#ansys.grantami.core.mi_meta_classes.APIDeprecationWarning) if used.
There are no replacements for the current behavior:

| Planned deprecation | Behavior changes |
| - | - |
| `url` property after `include_binary_data = True` | \* v5.0: Returns [`None`](https://docs.python.org/3/library/constants.html#None). \* v5.1: [`APIDeprecationWarning`](https://developer.synopsys.com/docs/granta-mi/granta-mi-scripting-toolkit/streamlined_api/exceptions#ansys.grantami.core.mi_meta_classes.APIDeprecationWarning) raised. \* Later release: Exception raised. |
| `value` property after `include_binary_data = False` | \* v5.0: Returns [`None`](https://docs.python.org/3/library/constants.html#None). \* v5.1: Returns [`None`](https://docs.python.org/3/library/constants.html#None). \* Later release: Returns URL. |
