GeUserArea.SetFont() doesn't exist ?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/12/2012 at 19:34, xxxxxxxx wrote:
Does c4d.Gui.GeUserArea.SetFont() actually exist or is this just another of the funny SDK
typo traps ? i am trying this , assuming that the description of the method is wrong and it
actually works like the method with the same name in GeClipMap.self.DrawSetTextCol(self.getColorVector(c4d.COLOR_TEXT), self.getColorVector(c4d.COLOR_BG)) self.SetFont(None, 12) self.DrawSetFont(c4d.FONT_MONOSPACED)
however the console keeps saying both for SetFont() and SetTextPen() :
AttributeError: 'tsStampGadget' object has no attribute 'SetFont'
Am I missing something important here ? I just want to adjust the font size. Do i have to
use GeClipMap for this ? Thanks for reading. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/12/2012 at 21:22, xxxxxxxx wrote:
I have implemented this with GeClipMap now, so the topic can be closed. However the
documenation should be fixed on this, as it seems to be a mistake in the python
documentation ( the c++ documenation does not mention these two methods for
GeUserArea). -
On 15/02/2014 at 00:26, xxxxxxxx wrote:
I just ran into this as well. No fun.
-
On 16/02/2014 at 23:58, xxxxxxxx wrote:
There's no SetFont() and SetTextPen() methods in GeUserArea.
I corrected the documentation.