Strange thing with a Dummy that have Material assigned

Hello,

I have a file with a Dummy that have a Material assigned to it. That's strange, weird, and I want to remove it but I cannot.

Do you have a tip ?

I've done :

print $.material
StrangeMaterial:Standard
$.material = undefined
undefined
print $.material
StrangeMaterial:Standard

But nothing change as you can see!

Comments

Comment viewing options

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

Can you merge that dummy into

Can you merge that dummy into an empty file and post it here?
It'd be great if we could have a look.

Maelvon's picture

custAttributes.count $

custAttributes.count $ BaseObject:true
0
custAttributes.count $ BaseObject:false
0

The file is joined!

AttachmentSize
weirddummy02.zip 17.88 KB
Maelvon's picture

I think I've found a tip

I think I've found a tip :

http://forums.cgarchitect.com/32134-how-delete-all-materials-one-go-material-editor-2.html

  1. select an object within the Command panel
  2. select the Utilities panel
  3. click the More button
  4. select UVW Remove
  5. click the Materials button
Maelvon's picture

But "UVW Remove" doesn't work

But "UVW Remove" doesn't work in that special case.

jos's picture

can't create yout problem, so

can't create yout problem, so difficult to help.
how did you do it?

print $.material
undefined
$.material = Standard()
Standardmaterial:Standard
print $.material
undefined
$.material = Standard()
Standardmaterial:Standard
$.material
undefined
Maelvon's picture

That's the copy of the

That's the copy of the Maxscript Listener windows. But I've not copied it correctly, sorry! Here is the correct one.

print $.material -- input
StrangeMaterial:Standard
StrangeMaterial:Standard
$.material = undefined -- input
undefined
print $.material -- input
StrangeMaterial:Standard
StrangeMaterial:Standard

I've put the material value to undefined, but it is not applied. I don't known how the material has been applied to the Dummy, but if I can remove it without replacing by a fresh new Dummy.

Anubis's picture

curiously! :)

that unique event deserve to be sended to Autodesk! :)
but out of the joke, is there some custom attributes on that dummy?

my recent MAXScripts RSS (archive here)

Maelvon's picture

I don't see any custom

Dummy with a material

I don't see any custom attributes on this Dummy, only the Material one.

Anubis's picture

try this...

Select the object and run in the Listener this 2 commands one by one. Only if both return 0 then there no CAs.

custAttributes.count $ BaseObject:true
custAttributes.count $ BaseObject:false

my recent MAXScripts RSS (archive here)

Comment viewing options

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