Imports
Import required packages for the workflow.Authentication
Obtain an access token from Ansys ID and format an authentication header. The underlying standard used is OIDC.Connect to the Granta Integration Service
Create a session on the Granta Integration Service and store the response from that call.Launch the Granta Material Picker
Launch the Granta Material Picker in a browser (this example uses the default web browser). The session uid from the previous step is required here.Receive model data
Retrieve the material model data from the Granta Integration Service.data_response. Replace the print statement with your code to handle the material data.