THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/07/2009 at 13:25, xxxxxxxx wrote:
Cinema 4D Version: 9.6 - 11
Platform: Windows ; Mac ;
Language(s) : C++ ;
is there a way to prevent materials from getting flushed by 'remove unused materials', when they are used in a virtual hierarchy ?
I have a generator Object with some link fields for textures. If the textures are only in use there (and not applied to a 'real' non-generator object), 'remove unused materials' will remove those mats from the doc..
do i have to flag those materials myself, when they are used by ma generator ?
On 03/07/2009 at 07:51, xxxxxxxx wrote:
The MSG_MULTI_MARKMATERIALS message should help you. This is also important if you want to copy generators with internal materials (also across different documents).
There is an example in the SDK docu, see the MarkMaterials structure.
On 04/07/2009 at 09:42, xxxxxxxx wrote:
thanks for the hint, i will check it out.