Skip to main content
Load MI Scripting Toolkit, connect to your MI Session, and select a database and table.

Connect to MI

Import the granta libraries and connect to Granta MI via the Service Layer using Windows authentication, replacing my.server.name with the name of your Granta MI server.

Select a database

All the sample scripts use the MI Training database.
Set a unit system, and choose whether to use absolute or relative temperatures (Kelvin/Rankine or Celsius/Fahrenheit).

Select a table

Select MaterialUniverse and print its number of attributes.
Previous cell output:
Print the definition of an attribute within your table.
Previous cell output:

Find a record

Search for a record by name (only exact matches for short or long name will be returned), and print information to help you locate and view it in MI applications.
Previous cell output:
Previous cell output:
Previous cell output:
Previous cell output:
Previous cell output:
Previous cell output:
Previous cell output:
Previous cell output:
Previous cell output:
Previous cell output:
Previous cell output: