THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/03/2008 at 14:06, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9600
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
---------
Hi,
I only checked in 9.6, but is it true that the InExclude list does not work with BaseMaterials?
No matter what I do, the ObjectFromIndex() does always return NULL when the object in the list is a BaseMaterial.
The Object count is 1 and it´s only the material in the list, so the list knows that the basematerial is there but the ObjectFromIndex() call does not return it.
Is it intented not to work with materials (as the return type is BaseList2D, this should actually include BaseMaterials)? Or is it only in 9.6 that it doesn´t work? If so is there a workaround for 9.6.
That would be highly important to me.
I am in GetVirtualObjects() btw.
Thanks!
Samir