Selecting a Tag through Code

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 30/07/2003 at 15:30, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.100 
Platform:      
Language(s) :     C++  ;

---------
Hi,
Is there a way I can get C4D to select a tag using code?
I would like to make it a SelectionTag becomes active in C4D via C++
 
Thanks

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 31/07/2003 at 03:35, xxxxxxxx wrote:

hi,
sure that should be possible. just use tag->SetBit(BIT_ACTIVE); to select the tag.
Hope that helps

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/08/2003 at 05:21, xxxxxxxx wrote:

Use SetActiveTag(tag);
That's the high-level function which will also display the tag in AM.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/08/2003 at 05:36, xxxxxxxx wrote:

yep forgot about that one. And to complete it you should also set the selection mode when using SetActiveTag for multiselections..

SELECTION_NEW

|
Starts a new selection.

---|---

SELECTION_ADD

|
Adds to the current selection.

SELECTION_SUB

Best
Samir