Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/12/2009 at 11:10, xxxxxxxx wrote:
User Information: Cinema 4D Version: 10.5 Platform: Windows ; Language(s) : C++ ;
--------- Hello
I write tagplugin. the plugin is working, but my question: how to detect if baseobject move under the tag. And if baseobject is taken out from under tag.
Is that possible?
Thanks in advance. Dinnye
On 07/01/2010 at 02:47, xxxxxxxx wrote:
Originally posted by xxxxxxxx how to detect if baseobject move under the tag. And if baseobject is taken out from under tag.
Originally posted by xxxxxxxx
how to detect if baseobject move under the tag. And if baseobject is taken out from under tag.
What do you mean with moving under the tag and taken out from? A tag is attached to an object. The tag can be either deleted or removed to another object.
cheers, Matthias
On 17/01/2010 at 07:39, xxxxxxxx wrote:
I'm sorry, but until now no computer nearby. My english is very bad, so screenshot attached.
 or
On 17/01/2010 at 14:49, xxxxxxxx wrote:
BaseObject* child = tag->GetObject()->GetDown();
gets you the first child object. Then use
BaseObject* nextchild = child->GetNext()
to get all following objects. If you want to keep track of the childs you must store a link to them and with every change check if they are still a child of the parent.
On 18/01/2010 at 13:40, xxxxxxxx wrote:
Thanks Katachi. But it is not what I meant. The move (drag mouse) performed by the user would like to detect. Is that possible?
Thanks Dinnye
On 18/01/2010 at 14:57, xxxxxxxx wrote:
perhaps look at "Drag and Drop" in the sdk documentation. You might find what you need there.
~Shawn
On 19/01/2010 at 00:40, xxxxxxxx wrote:
You have to check the hierarchy manually. There is no special message that indicates if the object was moved out from the tag's object hierarchy.
On 19/01/2010 at 03:50, xxxxxxxx wrote:
Ok, thanks
Dinnye