i tried to get info from conolse and i should be able to print the active but
i did something wrong here
import bpy
obj_act = bpy.context.active_object
me = obj_act.data
print (‘Active object =’, obj_act )
print (’ dir =’,dir(obj_act))
print (’ active ob active mat =’, obj_act.active.materials)
it does not recognise the active mat
how can i corect this ?
but i can print these
print (‘Active object =’, obj_act )
matactiv = obj_act.active_material
print (‘Active Material =’, matactiv )
thanks