Setting Visibility in Coffee?
-
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:
User Information:
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.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/05/2003 at 23:39, xxxxxxxx wrote:
What part of the line does it complain about? If it's DISPLAYTAG_VISIBILITY that doesn't exist you can try the raw value from Tdisplay.h, 1006.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/05/2003 at 00:24, xxxxxxxx wrote:
ok, I feel like an idiot now I could swear I tried it with the raw value method before posting and it didn´t work... Thanks a lot!