replace_material_pyleecan_obj
replace first material by the second in the object
obj (Pyleecan object) –
mat1 (Material) – material to replace
mat2 (Material) – new material
comp_name_path (bool) – replace strictly mat1 or replace materials without comparing mat1.path and mat1.name
is_change – True if a material has been replaced
bool