THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/10/2004 at 14:07, xxxxxxxx wrote:
Cinema 4D Version: 8.503
Platform: Windows ;
Language(s) : C++ ;
So, how does one actually use this method to set the execution point of the Execute() method in the NodeData?
I donot see it called by C4D at any time, but I wouldn't know how to get at a PriorityList to send it to the method since 1. there is not a single example and 2. there are no references to PriorityList, except class PriorityList and AddToExecution().
The PriorityList, according to AddToExecution(), has the quality of "CINEMA 4D owns the pointed object". Well, where is it? I suspect it is part of the BaseDocument, but there are no references to it or methods retrieving/setting it.
On 08/10/2004 at 05:14, xxxxxxxx wrote:
According to the SDK docs, NodeData has no AddToExecution() method, only some of it's subclasses have. So if you add a NodeData::AddToExecution() function yourself, it won't be called by C4D.
The PriorityList is passed to the AddToExecution() function by C4D, if you use a NodeData subclass that actually has a AddToExecution() function.
Hope this helps.
On 08/10/2004 at 07:54, xxxxxxxx wrote:
I meant TagData, but the situation was resolved. It required that the TAG_EXPRESSION was set for the plugin tag otherwise it never got called (ever). Obviously this method only refers to Expression tags, something the docs don't note.
But, I found using the Init() code in Lookatcamera.cpp sets the priority where it should be anyway.
On 08/10/2004 at 08:05, xxxxxxxx wrote:
Yes, the difference between ordinary tags and expressions is that tags are passive and expressions are active. I stumbled over that myself some time ago, I think this should be added to the docs.
On 08/10/2004 at 10:01, xxxxxxxx wrote:
So, when are you going to rewrite the docs?!
Passive/active would be a great way to succintly describe the difference.
Thanks! Now back to worse things: normalization of overlapping absolute vertex maps - arghhh!