Solved c4d 2024 "MENURESOURCE_SEPERATOR"

Hi,
Previously, my plugin worked normally in 2023, but in 2024, the console prompted:
5fd03555-f7de-4441-b349-4da688635ee0-image.png
but,there have been no changes in the sample code for this section in the Python doc for 2024
7064842a-d900-4692-b649-ec51f5134443-image.png
I can only replace it with the number 2. “ menu.InsData(2, True) ”.Has there been any change in 2024?

相信我,可以的!

Hi @chuanzhen
This symbol rename to c4d.MENURESOURCE_SEPARATOR( fix the spelling ), you can add a version condition to your plugin or just use the int 2.

Cheers~
DunHou

Hi @chuanzhen
This symbol rename to c4d.MENURESOURCE_SEPARATOR( fix the spelling ), you can add a version condition to your plugin or just use the int 2.

Cheers~
DunHou

@Dunhou Thanks!

相信我,可以的!

Hello @chuanzhen,

Thank you for reaching out to us. And thank you @Dunhou for providing an answer. @Dunhou is right, a developer of ours fixed the spelling error in the symbol in our C++ API, which then automatically has been propagated to Python.

Cheers,
Ferdinand

MAXON SDK Specialist
developers.maxon.net

@ferdinand Thanks,hope to fix spelling in c4dpython doc in future versions

相信我,可以的!