class RAMaterialsInteractionCollection
Rocky PrePost Scripting wrapper for the collection of materials interactions in a project. This wrapper corresponds to the “Materials Interactions” item on the project’s data tree. Retrieve theRAMaterialsInteractionCollection from a RAStudy via:
RAMaterialsInteractionCollection class act as regular Python lists and can be
iterated on, individual materials accessed via index, etc:
RAMaterialsInteraction.
Methods:
Clear()
Unused: Materials Interactions are automatically deleted when Materials are created.GetMaterialsInteraction(material_1, material_2)
Get the materials interaction for the given pair of materials. For both material_1 and material_2 parameters, the parameter can be either an instance ofRASolidMaterial or the material’s name.