Skip to main content
Find which record link groups are in a specified database, and find which records are contained in a specified record link group. This example demonstrates:
  • Retrieving a list of record link groups from a database
  • Retrieve a list of records within a specified record link group

Create a Granta MI session

Import the GRANTA_MIScriptingToolkit package, and create a connection to a Granta MI server.
Previous cell output:
You can use GetRecordLinkGroups to retrieve information about all the link groups in a given database. Find the record link groups and the group IDs for groups in the MI_Training database.
Previous cell output:
Search for records containing “ICS-46634”. Subsequent steps will use only these search results.
Collate the record references from the search results. Use GetLinkedRecords to specify the record link group “Tensile Test Data”.
Collate and list the number of results from the record link group.
Previous cell output:
Use other functions in the MI Scripting Toolkit to retrieve the names of the test data records within the record link group.
Previous cell output: