THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/04/2003 at 07:35, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Mac ;
Language(s) : C.O.F.F.E.E ;
I have an object that I get through the following line of code:
dropped = GetDragObject(msg);
I know it is a tag, since it passed the following test:
I also know it is a material tag since it passed the following test:
if(dropped->GetType() == 5616)
Now, how can I get the name of the material that is assigned to the tag?
I tried using this code:
mat = doc->GetFirstMaterial();
But this NEVER finds anything. What am I doing wrong? Samir as been helping me but we are getting nowhere
I need to get the name of the material!! Please help.
Thank you very much in advance.
On 03/04/2003 at 15:46, xxxxxxxx wrote:
Ok, never mind... after much trial & error, I did it