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

    GeClipMap SetFont/GetFont

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 398 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 07/05/2012 at 11:46, xxxxxxxx wrote:

      hiho,

      i thought it would be fun to try, what is discussed here, but i ran into some problems regarding 
      the 13.x features of GeClipMap(). could someone enlighten me on the useage of GetFont()and
      SetFont() in python ?

      myGeClipMap.SetFont( None, 0.0)
      

      SystemError: source\pymodules\c4d\PyBaseContainer\PyBaseContainer.cpp:1095: bad argument to internal function

      bc = c4d.BaseContainer()
      myGeClipMap.GetFont(bc)
      

      TypeError: GetFont() takes no arguments (1 given)

      myGeClipMap.GetFont()
      

      SystemError: .\source\embedding\interface\i_getargs\i_getargs.cpp:1440: bad argument to internal function

      i also have no idea how we are supposed to create the font data bc for SetFont(), as the font 
      helper functions of GeClipMap do not exist in python.

      edit : eh, i am on R13.058

      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 09/05/2012 at 08:14, xxxxxxxx wrote:

        bump,

        can no one answer this question ? is my question not in an understandable form ? i assume this
        is a bigger bug in the python sdk ?

        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 09/05/2012 at 08:47, xxxxxxxx wrote:

          Hei Ferdinand!

          I don't have much time to explain, but I think you're experienced enough to
          figure it out with this example:

          import c4d  
          data = c4d.gui.FontDialog()  
            
          for k, v in data:  
            print k, v  
            
          font = c4d.FontData()  
          font.SetFont(font)
          

          Cheers,
          Niklas

          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 23/05/2012 at 00:50, xxxxxxxx wrote:

            hey nikklas,

            thanks for your answer, i have red it earlier, but i discovered a rather unpleasent way to get
            of your bike while biking, so i was kind of busy with myself. will check this out soon.

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