Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/05/2005 at 00:43, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.5 Platform: Windows ; Language(s) : C.O.F.F.E.E ;
---------Hi, how can i get the name of a Material, when I have the Object-id?
On 11/05/2005 at 00:58, xxxxxxxx wrote:
Try to loop around the tags associated with that object and find TextureTag (Tag type of Ttexture). From where you can get the Material name. Hope this will work.
On 11/05/2005 at 05:56, xxxxxxxx wrote:
Sorry, i didn't write it clear: I didn't mean the object-id. I have already the Material-ID. And I can't find a way to read the Name of the Material.
On 13/05/2005 at 02:25, xxxxxxxx wrote:
Just use GetName() :
println(doc->GetFirstMaterial()->GetName());