Folding an object

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

On 04/06/2012 at 05:11, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   13 
Platform:      Mac OSX  ; 
Language(s) :   C.O.F.F.E.E  ;

---------
I'm trying to fold an object that has children, using COFFEE.
For that, I'm using:

op->SetBit(BIT_OFOLD);
op->Message(MSG_UPDATE);

But it is not working. any help would be appreciated.

Rui Batista

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

On 04/06/2012 at 06:21, xxxxxxxx wrote:

Afaik BIT_OFOLD is deprecated. There are four fold bits, one for each of the four object managers in Cinema (NBIT_OM1_FOLD ... NBIT_OM4_FOLD). I'm afraid COFFEE doesn't support it.

cheers,
Matthias

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

On 04/06/2012 at 06:38, xxxxxxxx wrote:

I also tried those and they don't work. Also, using them, automatically selects the object.
So, it is impossible to fold an object using COFFEE?

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

On 04/06/2012 at 07:31, xxxxxxxx wrote:

I asked this same question years ago on CGTalk. But nobody ever replied to it.
This is the only way I've found to Fold&Unfold with Coffee:

CallCommand(100004803); // Fold Selected  
CallCommand(100004802); // Unfold Selected  

-Scott