THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/01/2006 at 17:15, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.503
Platform: Windows ; Mac ; Mac OSX ;
Language(s) :
---------
IsInstanceOf() and GetType() don't seem to work at determining if one plugin object is derived from another (say a base myTag and derived thisTagExtendsMyTag).
Now, I need to do general checks on type against existing tags whether BaseTags or other PluginTags. Is there an easy way to determine if a tag is of a basic plugin type?
For instance, let's say that I have a PluginTag, ATag, and several derived PluginTags, BTag and CTag. Since IsInstanceOf() and GetType() work on PLUGIN_IDs, the derived tags fail checks with these. Could super/SUPER() be used in this case? Solutions seem murky.
Thanks,