THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/06/2003 at 13:45, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Windows ;
Language(s) : C++ ;
For FlushUnusedTexture() doesn´t work, is there a way to find out if a material is somewhere used in the current scene (applied to an object)?
Or do I have to go through the complete scenehierarchy and then through all tags of each object and check if the material is linked to the found materialtags? Darn, that wouldn´t be good!
Thanks so much...
On 14/06/2003 at 00:52, xxxxxxxx wrote:
You could try
#define MSG_MARK_MATERIALS (4|(1<<30))
doc->MultiMessage(MULTIMSG_BROADCAST, MSG_MULTI_MARKMATERIALS, NULL);
and then look at BIT_MATMARK for each material. (For some reason this constant was missing from the R8 SDK, but it seemed to work last time I tested it in 8.1.)
On 14/06/2003 at 03:21, xxxxxxxx wrote:
Hey Mikael, thanks, it seems to be working just as expected.
Great support again, thank you!
On 20/09/2010 at 02:40, xxxxxxxx wrote:
excuse me, is there a possibility to achieve same functionality with coffee?
On 22/09/2010 at 08:05, xxxxxxxx wrote:
I don´t think so though it´s long time I used coffee.
On 22/09/2010 at 09:29, xxxxxxxx wrote:
Currently there is no possibility in COFFEE.
On 23/09/2010 at 08:45, xxxxxxxx wrote:
'cuse me, think I got it noticed ... the awnser is always the same ... but saves a lot of time to just ask then to look for hours through the documentation (even if I know the awnser ... ) will not be asking that much further thank you and please be patient, it really did help at work. thx