• Create New Take Using Python

    Moved
    9
    0 Votes
    9 Posts
    2k Views
    D
    @m_adam Thanks for your help. Apologies for not following the rules. I'm struggling with the rules of Python at the moment so it's not surprising! Will try to be a better poster in future.
  • Unusual "NoneType" Error for GetDeformCache()

    r21 python
    12
    0 Votes
    12 Posts
    2k Views
    B
    Hi @m_magalhaes Ah gotcha. I guess I can't change the deformer's priority. Anyhow. Thanks for the confirmation.
  • Compiling the Cinema 4D R20 C++ SDK Examples

    c++ windows project tool r20
    7
    14
    7 Votes
    7 Posts
    6k Views
    B
    @m_adam Thanks. You are right. It didn't exceed 5GB. I guess 5GB is when it is uncompressed. I was able to build the plug-ins now.
  • R23 plugin windows 10 error

    r23 c++ windows
    7
    0 Votes
    7 Posts
    1k Views
    ManuelM
    @adam_k_garner said in R23 plugin windows 10 error: . Any idea why this ONE person had the issue on Windows 10? I've move your other question to a new post. Let's try to fix your issue there if we can help Cheers, Manuel
  • Unable to Set Priority Data for Skin Deformer

    r21 python
    6
    0 Votes
    6 Posts
    690 Views
    ManuelM
    @zipit said in Unable to Set Priority Data for Skin Deformer: probably overlooked correct, friday evening
  • Phong Tag with ObjectData

    python
    6
    0 Votes
    6 Posts
    1k Views
    ?
    It's working! Thank you @zipit , @r_gigante , & @m_adam ! Have an excellent weekend. A note for future readers One issue with my demo code is I wasn't passing the op from GetVirtualObjects to the CreateMyObject method. @m_adam created a new object (newObj) and only calls GetTag on the op (variable name: node). phongTag = node.GetTag(c4d.Tphong)
  • Error reading resource Line 1

    r20 c++ python windows
    3
    0 Votes
    3 Posts
    904 Views
    B
    After a LOT of testing around I finally found the culprit. The header file was encoded UTF-8 with BOM. I finally figured it out after noticing that two versions of the header file that worked or didn't work had a 3 byte difference in file size. No idea how that snuck in there, but now it finally works. Also now it makes sense that the error was pointing to line 1.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Polygon Selections with ObjectData Plugin

    python
    6
    1
    0 Votes
    6 Posts
    787 Views
    ?
    @zipit Sorry, it embarrassingly didn't occur to me that your file example was working because I didn't see the Selection Tags as with the Generators. Thanks again for it! For the best user experience, there would be a proxy tag so the user can link & reference it by name. @m_magalhaes , any updates on the SetRealTag implementation in the SDK? I created a request for the SDK here: SetRealTag Request Thank you.
  • Ignore Javascript on Windows ?– CUSTOMGUI_HTMLVIEWER

    python sdk windows
    6
    0 Votes
    6 Posts
    907 Views
    M
    Hi @lasselauch sorry for the late reply, I asked about the developer responsible for it. On Windows we use the WebView control of the last iteration of iexplore MS shipped for 8.1 - Internet Explorer 11 (user-agent ID: "Trident"). It supports >most< things other modern browsers do, but sadly not everything... Especially the JS support has become a problem since IE11 is missing parts of the ECMA 6 standard and needs 'polyfills' to emulate those. Many JS frameworks / libraries don't offer IE11 compatibility and instead rely on the developer to add those polyfills themselves. One of the improvements IE11 received back then was the developer console+tools so the user could use those to track > down the JS issues and resolve them." I also forwarded your request about the ability to disable Javascript, but so far nothing planned atm, so the only workaround I see is either fix your javascript framework (maybe a huge task) or you can disable your javascript based on the user agent and if it's an IE11. Hope this help, Cheers, Maxime.
  • Adding camera calibration lines by script?

    3
    0 Votes
    3 Posts
    562 Views
    CairynC
    ok, thanks for the confirmation!
  • Remove a GeDialog Tab Group

    python
    3
    0 Votes
    3 Posts
    621 Views
    ?
    @m_adam I'm good with using Python this way. Thanks Maxime.
  • Changing assets paths - Feature request

    4
    0 Votes
    4 Posts
    1k Views
    J
    Hi @r_gigante, Would still love if you guys can create something that enabled you to change assets paths with python. Hopefully it can be added to the feature list. Thank you.
  • Access C4D Objects outside C4D?

    r21 python
    10
    0 Votes
    10 Posts
    974 Views
    M
    VS Code and Sublime Text are not so well designed and simply spawn a bunch of python interpreters to retrieve the information they need, In contrast, pycharm does use only one and the same python interpreter its spawn. So that's why you got these issues.
  • RDATA_PATH not working with Render Settings

    r23 python
    3
    1
    0 Votes
    3 Posts
    423 Views
    M
    Hi @blastframe as demonstrated in tokensystem_render_r17.py you should always operate on the BaseContainer. Cheers, Maxime.
  • Radio button groups in two columns

    Moved
    6
    0 Votes
    6 Posts
    892 Views
    S
    Hi Maxime, it now works great, thank you very much for your support! Cheers, Stan
  • Compare only parts of two BaseContainers()

    r20 r21 s22 r23 c++
    6
    0 Votes
    6 Posts
    632 Views
    fwilleke80F
    Nice, Manuel, thank you! I guess, I'll try the SetDParameter() approach, too, in good time. Cheers, Frank
  • Emojis - macOS vs. Windows

    4
    3
    0 Votes
    4 Posts
    1k Views
    CairynC
    why do you think C4D has any special handling for emojis? The font rendering is OS dependent, so any kind of text - including emoji codepoints - is drawn by the underlying operating system routines. Anything else would mean a ridiculous effort by Maxon to replicate font behavior. (I do not know how Windows internally handles emojis, I doubt that every available font has all these characters so most likely certain codepoints are mapped to common glyphs regardless of the font... but that is not a C4D question anyway.)
  • I need help with this Python code

    Moved
    3
    0 Votes
    3 Posts
    448 Views
    M
    Without more information, from your side, I've set up your topic as solved but feel free to re-open it. Cheers, Maxime.
  • 0 Votes
    3 Posts
    641 Views
    M
    Without more information, from your side, I've set up your topic as solved but feel free to re-open it. Cheers, Maxime.