Display Filter settings

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

On 07/09/2010 at 10:25, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   12 
Platform:      Mac OSX  ; 
Language(s) :     C++  ;

---------
Hi,
I have some problems changing the display filter settings. This code works fine in 11 and 11.5 but doesn't semt to work in v12 any more. Any ideas?

bdraw=doc->GetBaseDraw(0);
bdraw->SetParameter(DescLevel(BASEDRAW_DISPLAYFILTER_CAMERA), GeData(false), DESCFLAGS_SET_PARAM_SET);

Some special Message needed to update the filter settings?

Greetings

Arndt von Koenigsmarck

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

On 08/09/2010 at 03:57, xxxxxxxx wrote:

You have to use a different flag.

bdraw->SetParameter(DescLevel(BASEDRAW_DISPLAYFILTER_CAMERA), GeData(FALSE), DESCFLAGS_SET_0);

DESCFLAGS_SET_PARAM_SET is a flag which is only send to overloaded SetParameter methods.

cheers,
Matthias

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

On 08/09/2010 at 04:02, xxxxxxxx wrote:

Ah, great! Thank you Matthias!