How to delete diffuse bitmap with none texture by maxscript

please help me , it very important to me

AttachmentSize
capture.png24.49 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexnguyen's picture

:)

thank you very much

pixamoon's picture

`

Hi,

Try this:

for o in getClassInstances VRayMtl where o.texmap_diffuse.filename == "" do
	o.texmap_diffuse = undefined

Best,

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.