GetMaterial
Returns the material associated to the element.
Calling convention:
bool GetMaterial()
You can find a definition of this function in the CaeUtils_Exp_IContext.hxx header file. The list of methods available for IMaterial class is defined in CaeUtils_Exp_IMaterial.hxx header file.
Example:
const IMaterial* pSolidMaterial = pContext->GetMaterial();
const IMaterial* pFluidMaterial = pContext->GetFluidMaterial();