Forum: Poser Python Scripting


Subject: Renaming materials in Poser

flyerx opened this issue on Jan 25, 2003 ยท 5 posts


flyerx posted Sat, 25 January 2003 at 11:28 PM

thanks for the info. That works. Unfortunately It seems that I cannot rename materials without creating new ones. I am using poly.SetMaterialName(newmatname) but this method creates a new material instead of renaming the material. I tried material.Name(newmatname) and that did not have any effect. Maybe if I use SetMaterialName() and copy the material properties to the new material but that is rather cumbersome way of doing it. FlyerX