• Can't debug C4D 2023 and 2024 on macOS

    Cinema 4D SDK 2023 2024 c++ macos
    11
    1
    0 Votes
    11 Posts
    2k 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
    709 Views
    D
    @m_adam Brilliant! Thanks a lot!
  • 2024 Conversion questions

    Cinema 4D SDK 2024 c++
    2
    0 Votes
    2 Posts
    639 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