hexagon logo

How to define 2 different body with 2 different materials within subroutine UGRAIN?

I have 2 different 3D solid geometries with different materials. By using subroutine UGRAIN, how to define the body with different material and different parameters for grain growth?