Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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
    1. Maxon Developers Forum
    2. geese780
    3. Topics
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 15
    • Best 2
    • Controversial 0
    • Groups 0

    Topics created by geese780

    • G

      Python Plugin Unicode Convert

      General Talk
      • python • • geese780
      4
      0
      Votes
      4
      Posts
      624
      Views

      M

      Just to add on top,
      os.path.listdir and os.path.join in python 2 are context-specific, so if you input a Unicode string it will output a Unicode string, if you input a regular string it will output a regular string.
      Now the culprit is on c4d.documents.MergeDocument because normally this method accepts a C++ Filename object (which is the Classic API that under the hood uses the new MaxonAPI maxon::Url). Unfortunately, the Python parser is not able to convert from a Python Unicode string to a C++ Filename, but only from a Python ASCII string to a filename.

      So indeed casting from Unicode string to ASCII is the solution.
      Cheers,
      Maxime.

    • G

      AttributeError: 'GUI' object has no attribute 'AddCheckBox'

      Cinema 4D SDK
      • python • • geese780
      3
      0
      Votes
      3
      Posts
      554
      Views

      G

      Well Uh.....Yea.....Guess I should take a break......Thanks for the point out of the lower case b........🙄

      This is solved. Thanks Plugin Student!

      Cheers!

      MattG

    • G

      Insert String Info Into AddStaticText dialog command

      Cinema 4D SDK
      • • • geese780
      3
      0
      Votes
      3
      Posts
      453
      Views

      G

      Thanks Maxime, understood on the rules and regulations, sorry about that.

      I understand the group concept now, read up more on it and I have a better idea on how to approach the goal I'm trying to get to.

      I have another error I'm getting but I'll try to do another post and see if I tag it right!

      Thanks for your time!

      Cheers!

      MattG

    • G

      Beginner Programmer C++ Libraries Needed for starting first plugin?

      General Talk
      • • • geese780
      7
      0
      Votes
      7
      Posts
      997
      Views

      G

      Hey Richard!

      Thank you for the response, I have VS2017 version 15.9 all set up now, I think..... haha. I can see all the solutions in VS as well, but I ran the powersheel commands without having 2017 installed and I could see them in 2019, do I need to re-run the command or is it on the compile side that 2017 is the right version?

      I've been reading through all that documentation and I have seen the resources on Git as well so thanks for helping me understand I'm looking in the right spots haha! Thanks for the help so far, I'm sure I'll be back soon with more questions haha!

      Cheers!

      MattG

    • G

      UserData Insert New Data

      Cinema 4D SDK
      • • • geese780
      4
      0
      Votes
      4
      Posts
      541
      Views

      G

      Hey Guys!

      I think I figured it out! Will resoond if there's any questions!

      Cheers!

      MattG

    • G

      OSC Plugin or simple Xpresso Script

      General Talk
      • • • geese780
      4
      0
      Votes
      4
      Posts
      963
      Views

      G

      Hey Guys!

      Thank you very much for the insight! All of this makes sense, it helps me understand a little more about how the node part works! I really appreciate the time on this and thanks again for the help! I hope y'all are doing well!

      Cheers!

      MattG