• Splitting Selections maintaining Point Order

    r20 python
    6
    2
    0 Votes
    6 Posts
    1k Views
    M
    A CRC or a Checksum is basically a way to uniquely identify data. https://www.howtogeek.com/363735/what-is-a-checksum-and-why-should-you-care/
  • Polygon dimensions

    python r20
    4
    1
    0 Votes
    4 Posts
    1k Views
    r_giganteR
    Hi Pim, thanks for reaching out us. With regard to your question, given for comments from Cairyn, I recommend to refine your approach and to look on the web since there are a few different strategies to find the largest inscribed rectangle in a non-convex polygon (among them I recommend having a look at this). With regard to the points walking direction for a given polygon this is defined by the polygon normal and the left-hand rule and it should definitively not be randomly defined. Cheers, Riccardo
  • Unexpected Spline Behavior on Creating IK Spline Tag

    r20 python
    3
    0 Votes
    3 Posts
    585 Views
    M
    Hi @bentraje, since you rotate the axis (with SetMg) you also need to update the tangents according to the correct axis since tangents are in local space of points positions which are also in local space of the object. But as you figured is more rigging than a programming issue. And if you already solve the issue congratz! Cheers, Maxime.
  • Large Delay with Python Interpreter in PyCharm

    r20 python sdk
    3
    0 Votes
    3 Posts
    665 Views
    M
    Hi @blastframe, I can only confirm what's @mp5gosu said, and confirm that c4dpy is a complete Cinema 4D executable, just opened as a python interpreter mode. So nothing to do here, unfortunately. Cheers, Maxime.
  • Pycharm - Invalid Python SDK

    r20 python sdk
    3
    1
    0 Votes
    3 Posts
    11k Views
    ?
    @m_adam said in Pycharm - Invalid Python SDK: Hi, @blastframe thanks for contact us. So far we never encounter this issue and we are not able to reproduce it so few ideas to try: Make sure you have permission to write in the Cinema 4D folder and subfolder. Flush the cache, https://stackoverflow.com/a/45099651. Send us your PyCharm log, see https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files Cheers, Maxime. Hi @m_adam, Thank you for the reply. I ran PyCharm as an Administrator and flushed the cache. I still received the same error. When I looked at the log, I found a lot of missing file errors, which made me think I had the python.exe (c4dpy.exe) file in the wrong location. When I moved the file to the same folder as the R20 .exe, PyCharm started working. I was confused about the file location because, while in the Install instructions from the C4D Python SDK Documentation has the c4dpy in the C4D folder, this image made it seem like it could exist in a separate folder: [image: 1558553507512-c4dpy_pycharm_win2.png] I would have expected a file location similar to the default Windows location: C:\Program Files\MAXON\Cinema 4D R20\python.exe Thank you again. I have one follow-up question that I'll ask as a new topic.
  • Set Keyframes through a Python Tag

    r20 python
    9
    0 Votes
    9 Posts
    2k Views
    B
    @m_adam Gotcha. Work as expected. Thanks for the response. Have a great day ahead!
  • ObjectData plugin Draw() question

    python r19
    4
    0 Votes
    4 Posts
    1k Views
    chuanzhenC
    @m_magalhaes Thanks,i will try to use C++
  • Converting COFFEE to Python

    Moved python r20
    3
    0 Votes
    3 Posts
    1k Views
    M
    Any news? I turned your topic as solved, but feel free to ask questions, or bump it again if you need it. Cheers, Maxime.
  • LoadFile(Filename file) does not work for layouts.

    c++ r20 windows
    8
    0 Votes
    8 Posts
    3k Views
    ManuelM
    Again sorry, I've tested with the Studio version. Using C4DPL_PROGRAM_STARTED case I can confirm this "bug" with a Educational version and a Demo version. Not with the Studio version. Maybe something with that extra "popup" windows on those both versions. Cheers Manuel.
  • Type Viewer not working in Visual Studio 2015

    windows c++ r20 sdk
    7
    1
    0 Votes
    7 Posts
    1k Views
    fwilleke80F
    Thank YOU
  • DRAWPASS::HANDLES Not Effect DRAWOBJECT()

    r20 c++
    6
    0 Votes
    6 Posts
    1k Views
    M
    @m_magalhaes thank you : ) : ) : )
  • Bug on GetActiveObjects() on R20.057?

    r20 python
    4
    0 Votes
    4 Posts
    999 Views
    ManuelM
    Hello, nothing more to add here except that we confirm and thanks @C4DS for his answer. Cheers Manuel
  • GetLayerData() for Xref

    r20 python
    3
    0 Votes
    3 Posts
    538 Views
    M
    Hi @pim, does the solution provided is ok for you? EDIT: I turned it into solved but please feel free to open it again if you need to.
  • 0 Votes
    5 Posts
    1k Views
    M
    Since no news, I mark it as solved (closed), but feel free to open it again.
  • Customizing the Layout and Palettes

    r20 windows sdk
    3
    1
    0 Votes
    3 Posts
    923 Views
    O
    Hello @m_adam I see, I will have to use one of the other alternatives then. Thank you.
  • how to write description "Coordinates"

    c++ r20
    6
    2
    0 Votes
    6 Posts
    1k Views
    M
    @m_magalhaes thank you for your answer
  • Cannot modify Lens Effects

    3
    0 Votes
    3 Posts
    664 Views
    S
    @m_adam Thank you. Thank you very much!
  • Naming: plugin vs plugin

    Moved
    5
    0 Votes
    5 Posts
    987 Views
    r_giganteR
    Hi Daniel, thanks for sharing your further considerations. I see your points and maybe we should consider to update our documentation to reflect the notes above. I will discuss with the team and maybe we could come with a better introduction where the "plugin" term is used in a less generic meaning. Cheers, Riccardo
  • Reusing customGUI in different plugins

    r20 r19 c++
    2
    0 Votes
    2 Posts
    462 Views
    ManuelM
    hello, while RegisterCustomGuiPlugin could be called in all your plugins, the issue is that you will have a message in the console indicating that the id is already used / in conflict. So you can check, as you stated, if the library is already installed with IsLibraryInstalled or using FindPlugin and only register and install the library if you find nothing. The load order here should not be a problem as all modules should be loaded before you need to call anything related to the UI. Instead of FindPlugin,for CUSTOMDATATYPEPLUGIN or RESOURCEDATATYPEPLUGIN you can use FindCustomDataTypePlugin or FindResourceDataTypePlugin Cheers Manuel
  • Hide the Generic Tabs of an Subject

    r20 python
    5
    0 Votes
    5 Posts
    815 Views
    B
    @m_adam Oh okay. Thanks for the confirmation. Have a great day ahead!