Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    GeUserArea.SetFont() doesn't exist ?

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 345 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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).

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 15/02/2014 at 00:26, xxxxxxxx wrote:

          I just ran into this as well. No fun.

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            On 16/02/2014 at 23:58, xxxxxxxx wrote:

            There's no SetFont() and  SetTextPen() methods in GeUserArea.
            I corrected the documentation.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post