THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/10/2012 at 12:19, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) :
---------
In the Execute() function of an ObjectData plugin, I take an object specified by the user and do CurrentStateToObject on it to get a polygon object.
Most of the time this works fine, but it doesn't work with the Python Generator object. When I do the CSTO I always get a null object returned (an actual null, that is, not an object with a zero address), and it doesn't have any child objects which sometimes happens with CSTO. Doing CSTO in the object manager works as expected, of course.
Anyone know why this is happening - I must be doing something wrong, but it works with almost every other object I've tried. The only other one that doesn't work is the new 'Proc3durale' object plugin - this also returns a null object. How can I do CSTO and get a polygonal object from these procedural objects?
Thanks,
Steve