Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/07/2008 at 22:09, xxxxxxxx wrote:
User Information: Cinema 4D Version: 10.5 Platform: Language(s) : C.O.F.F.E.E ;
--------- Is it possible to set the display filters for a viewport using coffee? I see that the filters can be set with BASEDRAW_DISPLAYFILTER, and the BASEDRAW class has to use the GetParameter()/SetParameter() functions. I just don't know if they are C++ only or not (or how to use them). Any help would be greatly appreciated.
On 23/07/2008 at 03:19, xxxxxxxx wrote:
Yes, this is possible. Use GetActiveBaseDraw(), GetRenderBaseDraw() or GetBaseDraw(index) to get the BaseDraw and use the # operator to set the paramters.
example:
> \> var bd = doc->GetActiveBaseDraw(); \> bd#BASEDRAW_DISPLAYFILTER_GRID = TRUE; \>
\> var bd = doc->GetActiveBaseDraw(); \> bd#BASEDRAW_DISPLAYFILTER_GRID = TRUE; \>
cheers, Matthias
On 23/07/2008 at 21:52, xxxxxxxx wrote:
Thank you very much. This will save me a great deal of time toggling between viewport filters.