tag
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/10/2005 at 14:00, xxxxxxxx wrote:
User Information:
Cinema 4D Version: demo 9up
Platform: Windows ;
Language(s) : C++ ;---------
Hi,Has anyone found a way to know:
1. if a tags object is deleted
2. if a customguis linked object is deleted(i'm inside a GeDialog)
regards,
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/10/2005 at 11:27, xxxxxxxx wrote:
1. The safest way is to never store any direct pointers to the tag, just base links. Then you will get NULL from the link if the tag isn't valid anymore. If you don't get NULL you can use this to see if it's still on an object in a scene:
!tag->GetObject() || !tag->GetObject->GetDocument
2. Wouldn't it return NULL if the object is deleted?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/10/2005 at 12:29, xxxxxxxx wrote:
Mikael,
That's not enough.
Maybe i'm missing the point here but:Yes, but only after checking.
I have a visable list of objects in my dialog.
They are dropped there by the user.
Now the user deletes one of these objects from the
objects manager.The object remains visible in my listview.
Because i do not immediatly know that the user has deleted the object.
2.
Yes, but only after checking.
I have a visible link, the user removes(deletes) the object linked to, the visible link remains.regards,
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/10/2005 at 12:38, xxxxxxxx wrote:
You will get a EVMGS_CHANGE message to the CoreMessage() function in your dialog when an object is deleted. Then you can run through the objects and see which ones should be removed. (There is no direct message when an object is removed.)