Viewport Filter
-
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. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
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; \>
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
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.