THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/06/2003 at 19:00, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
I've created a new tag object and I can set the params that are in my tag.res file, but I can't figure out how to set the name of each tag. They come up with the name of the tag type.
The only thing I can find is the ref in Obase - ID_BASELIST_NAME for the name that apears under the 'Basic' tab, but that doesn't work.
How can I change the basic name? (Not the name of the tag type - just the name the user can edit.)
On 14/06/2003 at 00:54, xxxxxxxx wrote:
Couldn't you set this name in Init()?
On 14/06/2003 at 23:07, xxxxxxxx wrote:
Since they each have a unique name, how would I set them in Init? I don't see how to pass it a name and and don't know how to set it there other than the ID_BASELIST_NAME I was trying, since that is the only name I can find in the heirarchy for a plugin tag.
On 15/06/2003 at 01:52, xxxxxxxx wrote:
I don't understand. Why won't you know the default name in your TagData::Init()?
On 15/06/2003 at 08:21, xxxxxxxx wrote:
I don't understand - I thought Init was called by C4D. I do have a default name - and it shows up, but I need to change it to the name of the particular item the tag contains, I assumed this would be the same as the name that the user can see and change under Basic in the user interface.
On 15/06/2003 at 09:57, xxxxxxxx wrote:
Found it! Using SetName of the BaseTag * that I get initially from New Tag (BEFORE I cast it to my tag type).