Cannot replace default material

Cannot replace default material

espenrs
Enthusiast Enthusiast
2,952 Views
7 Replies
Message 1 of 8

Cannot replace default material

espenrs
Enthusiast
Enthusiast

So I get this error:

 

Warning: Old material could not be removed from the document, possibly because it is the default material.

 

The problem isn't that I get this error. The problem is that I don't get it in other designs with the same thing happening. I have the default material and I drag another on top to replace it with another one. In any other design it replaces no errors, but on this one it just gives an error and I can never delete it.

 

I'm beginning to think this is a bug and I have to start all over on this design to not get this error...

0 Likes
2,953 Views
7 Replies
Replies (7)
Message 2 of 8

TheCADWhisperer
Consultant
Consultant

@espenrs 

File>Export and then Attach the *.f3d file here that exhibits this behaivor.

0 Likes
Message 3 of 8

espenrs
Enthusiast
Enthusiast

I narrowed it down to a specific component and created a new file. Problem is still there and is now attached.

 

 

0 Likes
Message 4 of 8

jhackney1972
Consultant
Consultant

Using the file attached, changing the default material does not present any issues. Also change the Appearance does not present any issues either.    See screencast.

John Hackney, Retired
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 5 of 8

espenrs
Enthusiast
Enthusiast

Thanks for taking your time to do this.

What I'm trying to achieve is for the "In This Design" list to be just that - showing only the materials used. But this one material is in limbo and cannot be deleted or swapped. As in this video:

 

And of course this is how it should work:

0 Likes
Message 6 of 8

jhackney1972
Consultant
Consultant

If you assign a material to a component or body, it will normally carry with it an Appearance.  To get rid of the Appearance, you flagged in your video, edit the material and delete the assigned material.  This will probably automatically delete the Appearance you want deleted or if not, you can now easily right click on it a delete it because it is not required to support the material.  If you then assign another material, it will assign its related Appearance.  That is what the warning message that comes up is saying.

John Hackney, Retired
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes
Message 7 of 8

espenrs
Enthusiast
Enthusiast

It still doesn't work as expected. If I create a new design I have no problem dragging and dropping a new material onto the default one to replace it. But I still cannot do that here. I'm thinking this is a bug or something. If this was by design, I really shouldn't be able to drag a new material on the default one in a new design.

0 Likes
Message 8 of 8

espenrs
Enthusiast
Enthusiast

Well, I happen to come across this bug again and now I noticed what happened. If you join bodies together and then assign a material to them then the bug appear.

 

Just posted a bug report about it, but here is the video again:

 

Noticed that if I assign a material before the join everything works ok, but if I do it after then the error appears.