• Interfacing with Gumroad's API

    Moved python
    16
    0 Votes
    16 Posts
    7k Views
    kbarK
    Just one last comment on this licensing issue. I have a video that tells users how to install and license my own plugins for R21 upwards. It has been viewed 33,882 times as of today. It is my most watched video every month. I don’t have that many customers or sales. These views are from regular C4D users using Google to figure out what to do now since the old way is gone.
  • GetSplineLength() is failing?

    5
    0 Votes
    5 Posts
    1k Views
    ManuelM
    Hi, Spline Segment are explained in the Cinema 4D documentation About the initialisation, if you just move the point that should work but i would recommend to init again SplineLengthData. if you add a point, you need to initialize the SplineLengthData again. Cheers, Manuel
  • CKey.SetValue() for BaseTime object as value

    python
    2
    0 Votes
    2 Posts
    663 Views
    I
    I actually found the solution while posting the question but wanted to still post it in order to help others who might have the same problem. (If this is against community guidelines I apologise) The solution is to use the CKey.SetGeData() method. Done!
  • The layer material ID is the same as the node material ID.

    r21 python
    8
    0 Votes
    8 Posts
    2k Views
    indexofrefractionI
    I also just ran into this... < R24 you dont have BaseList2D.IsNodeBased, but as a small hack you can do: def isNodeMaterial(op): return True if op.GetType == c4d.Mmaterial and '[Node]' in op.GetBubbleHelp() else False
  • Iterate through selected Materials

    3
    0 Votes
    3 Posts
    1k Views
    M
    @ferdinand Thank you very much! The second way works great. I didnt get the first approach to work, but the second does well Here is the script if someone needs it. It is probably messy I am not a programmer, but it does write the names of the selected materials into the texturname import c4d from c4d import gui from c4d import storage import os #Welcome to the world of Python def changeTexture(shader): # shader ID texturePath = shader[c4d.BITMAPSHADER_FILENAME] # split aboslute path oldTexturename = os.path.split(texturePath) fileExtension = os.path.splitext(texturePath) # add prefix to newTexturename = matName + fileExtension[1] print (newTexturename) newTexturePath = os.path.join(oldTexturename[0], newTexturename) print (newTexturePath) # rename texture try : os.rename(texturePath, newTexturePath) print("Source path renamed to destination path successfully.") except OSError as error: print(error) # Assign the new value shader[c4d.BITMAPSHADER_FILENAME] = newTexturePath shader.Message(c4d.MSG_UPDATE) # Main function def main() : c4d.CallCommand(1029486) # Project Asset Inspector... c4d.CallCommand(1029816) # Select Assets of Active Elements c4d.CallCommand(1029820) # Globalize Filenames # Iterate over selected material material = doc.GetFirstMaterial() if not material: return while material: if material.GetBit(c4d.BIT_ACTIVE): shader = material.GetFirstShader() global matName matName = material.GetName() while shader: # Test if the current node is a bitmap shader. if shader.CheckType(c4d.Xbitmap) : changeTexture(shader) shader (shader.GetDown()) shader = shader.GetNext() material = material.GetNext() c4d.CallCommand(200000273) # Reload All Textures # Execute main() if __name__=='__main__': main()
  • C++ Plugin Development Tutorials

    Moved
    5
    8 Votes
    5 Posts
    7k Views
    kbarK
    @thomasb said in C++ Plugin Development Tutorials: This is great, why does nobody make this for Python, I mean Plugin development @Cairyn already has: https://www.patreon.com/cairyn In my opinion he should be charging $50 - $100 a month to make it viable to keep going.
  • [Fork] Detailed C++ Plugin Development Process Tutorial

    Moved c++
    4
    1 Votes
    4 Posts
    1k Views
    ferdinandF
    Hello @x_nerve, excuse my late reply. But our answer remains the same, we can give no guarantee that we will do this immediately and it is rather unlikely that we will do it. The reason being, that the information is already there, mostly in Getting Started: Introduction, it just happens to be in a slightly inconvenient form. And doing it here in the forum instead of the documentation would not be an improvement, especially if it is meant to be "detailed", as we then would do work that is not integrated with the document space users usually use to learn about concepts in the SDK, the SDK documentation hosted on develeoprs.maxon.net. As most people and companies, we have to plan where we invest our time best. And writing and maintaining the SDK documentation is only a part of our tasks. Which is why we did decide against doing it right now. Thank you for your understanding, Ferdinand
  • We are looking for plugin developers!

    Moved
    2
    1 Votes
    2 Posts
    650 Views
    kbarK
    Just checked out your website, looks really great. Can't wait to see that in C4D. Best of luck with the project!
  • Email Links Broken in Template

    5
    1
    0 Votes
    5 Posts
    1k Views
    r_giganteR
    The issue has been recently investigated and it should have been just fixed. Please confirm the links are correct now on your side.
  • WeightManager/Autoweight > set the amount of Joints in Python?

    r23 s24 python
    6
    0 Votes
    6 Posts
    1k Views
    jochemdkJ
    So, now we have a maxon.Int :} Yes, the system is working - thx @m_adam Consider it solved // more info in general on the maxon framework - especially on the python side - would we be welcome..
  • Cubic Spline Looks Jagged

    5
    0 Votes
    5 Posts
    2k Views
    ferdinandF
    Hello @johntravolski, without further questions or postings, we will consider this topic as solved by Wednesday and flag it accordingly. Thank you for your understanding, Ferdinand
  • How to create a material with the selected object as assigned?

    r20 python
    4
    0 Votes
    4 Posts
    1k Views
    ferdinandF
    Hello @JH23, without further questions or postings, we will consider this topic as solved by Wednesday and flag it accordingly. Thank you for your understanding, Ferdinand
  • create a material with a set texture?

    r20 python
    3
    0 Votes
    3 Posts
    1k Views
    JH23J
    Hi. Oh I understand, thanks for your answer, it has helped me a lot.
  • How to get Pixel Coordinates of Spline point on 2D render canvas?

    5
    1
    0 Votes
    5 Posts
    1k Views
    constantine_sazonovC
    @ferdinand Thank you very much for the info!
  • Rotate object around world axis regardless of orientation

    python
    4
    0 Votes
    4 Posts
    2k Views
    ferdinandF
    Hello @codysorgenfrey, without any further questions, we will consider this topic as solved by Monday and flag it accordingly. Thank you for your understanding, Ferdinand
  • No notifications of replies

    Moved
    14
    0 Votes
    14 Posts
    3k Views
    C4DSC
    @ferdinand We are indeed talking about the little bell icon with a number next to it. The strange thing is (as mentioned earlier as well) is that the unread icon does show up with a number of new unread posts. So, some of the notifications are working. Just not the bell icon. When I re-enable a notification in the dropdown of the bell icon, I do see the number show up. I noticed just recently that when I am currently looking at the forum page and someone replies, the number do show up. But without reading the posts, nor doing any actions and I leave the page, then come back to the forum ... the number on the bell icon is gone. Still the dropdown of the bell icon shows the list of notifications with a black circle next to it. Indicating that the replies have not been read yet. I don't have any content, script, or ad blocker. All was working fine with previous plugincafe. I have tried with Microsoft Edge (which isn't my default browser), and have exactly the same issues there. The number on the icon bell isn't displayed. To me this sounds like it isn't browser related. Do I have some setting in my account which causes this - no idea? As said, all worked fine with previous plugincafe, and as far as I remember I haven't changed anything in my account settings since the switch.
  • Search results

    Moved
    2
    1 Votes
    2 Posts
    813 Views
    ferdinandF
    Hello @C4DS, Thank you for reaching out to us and getting involved in shaping Plugin Café. While the requested functionality of yours would certainly be useful, we cannot provide it currently. I agree that the excerpts provided by the search function are too long for the common use case and information needs of users, but fixing that would require us modifying the search engine of NodeBB; as there are to our knowledge no build-in options of NodeBB to modify that excerpt length. We currently do not have the resources to do that customization of the search engine of NodeBB. Your proposal has been noted and might be taken into consideration in a future iteration of Plugin Café but considering that we just moved to a new system, this might take some time. Thank you for your understanding, Ferdinand
  • Forum "Question status" lost by edit

    Moved
    3
    0 Votes
    3 Posts
    824 Views
    a_blockA
    Hi Ferdinand, right, no worries. I am aware, "Question/Solution" is realized by a plugin and didn't expect it to be an easy fix. To have it documented is a good solution. Personally the topic here was more a kind of personal conditioning for me. Now, that I wrote about it, I won't forget so easily... Cheers
  • Log in annotation tag (python)

    Moved
    10
    0 Votes
    10 Posts
    2k Views
    ferdinandF
    Hello @ROMAN, without any further questions or replies, we will consider this topic as solved by Monday and flag it accordingly. Thank you for your understanding, Ferdinand
  • PySide2 for Python 2.7 Windows Version?

    r21 python
    15
    0 Votes
    15 Posts
    6k Views
    ferdinandF
    Hello @bentraje, no need to be sorry and thanks for closing it Cheers, Ferdinand