• Import NumPy?

    Cinema 4D SDK python 2024
    4
    0 Votes
    4 Posts
    1k Views
    G
    Hi, I'm also trying to install numpy, but after registering c4dpy I'm getting a syntax error after running "c4dpy -m ensurepip" command. c4dpy -m ensurepip (null) File "<stdin>", line 1 c4dpy -m ensurepip ^^^^^^^^^ (null)SyntaxError: invalid syntax
  • 2024 c4d python doc link error

    Cinema 4D SDK python 2024
    4
    1
    1 Votes
    4 Posts
    942 Views
    chuanzhenC
    @ferdinand Great job!
  • 0 Votes
    5 Posts
    2k Views
    ThomasBT
    @ferdinand This is a command, and you can c4d.CallCommand it, but that is all the control you have. thank you Ferdiand,
  • New Child Render settings with python

    Cinema 4D SDK 2024 python
    6
    0 Votes
    6 Posts
    2k Views
    M
    Thank you @ferdinand, I'll need to work out how I implement but once again a thorough and considered reply....
  • c4d 2024 "MENURESOURCE_SEPERATOR"

    Cinema 4D SDK 2024 python
    5
    2
    0 Votes
    5 Posts
    1k Views
    chuanzhenC
    @ferdinand Thanks,hope to fix spelling in c4dpython doc in future versions
  • Can't debug C4D 2023 and 2024 on macOS

    Cinema 4D SDK 2023 2024 c++ macos
    11
    1
    0 Votes
    11 Posts
    3k Views
    fwilleke80F
    @ferdinand said in Can't debug C4D 2023 and 2024 on macOS: first, thank you very much for investing more time into this and with that saving time for me, truly appreciated. You're welcome. If any of this get any of us further it's worth the time. @ferdinand said in Can't debug C4D 2023 and 2024 on macOS: But let us discuss the details per mail. Okay! Cheers, Frank
  • Gradient Interpolation Error in 2024 release

    Cinema 4D SDK python 2024
    3
    0 Votes
    3 Posts
    811 Views
    D
    @m_adam Brilliant! Thanks a lot!
  • 2024 Conversion questions

    Cinema 4D SDK 2024 c++
    2
    0 Votes
    2 Posts
    727 Views
    ferdinandF
    Hey @Rox, Thank you for reaching out to us. You really should have a look at the migration guide, as these topics are covered there. We cannot debug every compiler error here for you, nevertheless here are the answers to your three problems: // 1 - That should fix it as the signature is now: // GeData( const CustomDataType & data, Int32 type ) t_data = GeData(bbs, CUSTOMDATATYPE_BITMAPBUTTON); // 2 - Selections are now COW and make a distinction between being mutable and immutable. const BaseSelect* const mySelection = sTag->GetBaseSelect(); // immutable BaseSelect* const mySelection = sTag->GetWritableBaseSelect(); // mutable // 3 - Same story here, GetCustomDataType returns immutable data now, the method is also templated // now, so you do not need to cast things anymore. const InExcludeData* const myList= bc->GetCustomDataType<InExcludeData>(MY_ID); InExcludeData* const myList= bc->GetCustomDataTypeWritableObsolete<InExcludeData>(MY_ID); Cheers, Ferdinand edit: forgot the template argument in BaseContainer::GetCustomDataType