THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/09/2003 at 18:19, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.2
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
I'd like to know when CopyTo() is being called for the Undo stack so that I can avoid copying potentially-large data I've cached (ie: whole documents).
I'm seeing the following flag bitstrings supplied to CopyTo()
For CopyTo Undo on parameter change:
1010 0001 1000
(ie: MYSTERY_FLAG | COPY_NO_HIERARCHY | COPY_NO_INTERNALS | COPY_NO_BRANCH)
For CopyTo for particle cloning:
0001 1000 0000
(ie: COPY_NO_ANIMATION | COPY_NO_BITS)
And for CopyTo Undo on delete:
1000 0000 0000
(ie MYSTERY_FLAG)
So it looks like I can detect CopyTo the Undo stack using the MYSTERY_FLAG. Can I rely on this? Is it documented anywhere?
Thanks.
.angus.