RestrictionTag access

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

On 11/06/2004 at 08:58, xxxxxxxx wrote:

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

---------
How can I access the six names and strength values of a restriction tag?
Cpp seems to use another method than COFFEE.

Thanks in advance!

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

On 11/06/2004 at 10:10, xxxxxxxx wrote:

Through the container (as you do for almost any BaseList2D object) with the according IDs. Shouldn´t be different (except for language specific things) to COFFEE.
 RESTRICTIONTAG_NAME_01     = 1100,
 RESTRICTIONTAG_NAME_02     = 1101,
 RESTRICTIONTAG_NAME_03     = 1102,
 RESTRICTIONTAG_NAME_04     = 1103,
 RESTRICTIONTAG_NAME_05     = 1104,
 RESTRICTIONTAG_NAME_06     = 1105,

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

On 12/06/2004 at 04:36, xxxxxxxx wrote:

I first tryed it this way like I did in COFFEE.
But the compiler's always telling me that RESTRICTIONTAG_NAME_01 to _06 and RESTRICTIONTAG_VAL_01 to _06 are not defined.
c4d_basetag.h is included

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

On 12/06/2004 at 08:52, xxxxxxxx wrote:

? actually you shouldn´t need to include c4d_bastag.h. Include c4d.h and it should work. No clue why it doesn´t work for you.

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

On 12/06/2004 at 08:53, xxxxxxxx wrote:

btw. you could also use the IDs (i.e. 1100 etc) instead of the ID names.