THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/05/2003 at 00:44, xxxxxxxx wrote:
Cinema 4D Version: 8.100
Platform: Windows ; Mac ;
Language(s) : C.O.F.F.E.E ;
I know this topic has been up before, but being a complete beginner at coffee/c++, I couldn´t figure those old posts out.
What I´m trying to do is to create a DisplayTag for an Object. I can add the Tag without a problem, but couldn´t find a way to set the Visibility Value itself. After poking around in both the sdk (which only mentions a few Containers) and the forums I found some posts, where the complete set of Containers for this Tag are mentioned. But, when I try to set the DISPLAYTAG_VISIBILITY or DISPLAYTAG_AFFECT_VISIBILITY, Cinema says that it expects a function or variable?
the code I used:
var visitag=new(DisplayTag); var visibc=new(BaseContainer); visibc->SetData(DISPLAYTAG_VISIBILITY,100.0); //Thats the line Cinema complains about visitag->SetContainer(visibc);
The method works for a PhongTag I also add to the objects, so I think (?) the code is correct.
Could someone point me in the right direction? Any help would be appreciated.