THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/02/2011 at 07:23, xxxxxxxx wrote:
Cinema 4D Version: 12
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
Hi, first post here
I want to get the folded/unfolded state of a selected object in the OM.
Did so with GetBit(BIT_OFOLD) but it always returns 0.
Now somebody told it´s because the OFOLD command is from older days, where there had been just one single OM.
Can´t find any thing about different OMs in the SDK, can someone help?
On 18/02/2011 at 07:57, xxxxxxxx wrote:
I had Set- & GetBit(OFOLD); Problems, too, but I could'nt find a solution. If there is any, I would be interested in too.
On 18/02/2011 at 08:33, xxxxxxxx wrote:
ChangeNBit()? But GetBit() etc. should work anyway imo.
On 18/02/2011 at 08:58, xxxxxxxx wrote:
Well, actually the problem was, that the changes are not affected in the OM.
The Bit actually gets set properly.
Just test this and you'll see what I mean. (C4D R12, Null-Objekt - > Userdatas, Don't forget to open the console ;P)
If you fold the Object by yourself, the Bit obtained by GetBit doesn't change at all, as well as the Object won't fold as you youse SetBit(BIT_OFOLD);
On 18/02/2011 at 09:35, xxxxxxxx wrote:
yeah, I confirm it doesn't work with coffee
On 18/02/2011 at 13:43, xxxxxxxx wrote:
Maybe it´s possible with python to access the fold state?
Just started with coffee and are quite happy to just understood the very basics, can not jump into python now without confusing me absolutely