The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.
Hey you need to react to MSG_GETCUSTOM_NAME_ADDITION and return a dict with the expected string with the "res" key.
You need to register your object with c4d.OBJECT_CUSTOM_NAME_ADDITION to have the additional name displayed in the Object Manager.
Cheers,
Maxime.
Hi @ymoon,
Thanks for reaching out to us. Glad your problem is solved!
Here are some pointers to the docs with related toolset:
c4d.Vector, c4d.Matrix, c4d.utils.
Please note, there's Matrix Manual, although math questions are generally out of scope of the support on this forum.
Cheers,
Ilia
@ferdinand
There is no command to invoke the viewport window, so I was looking for an alternative. I will tagging the version in the next post. (R2023) Thank You.
The mouse position is obtained as follows.
msg[c4d.BFM_INPUT_X] --> GetEditorWindow() --> editor_x = win.Global2Local() --> mouse_x-abs(Editor_x)
The problem of overlapping selection in GetNearestPoint() was solved by making a list of selected object.
Thank you.
Hi,
there is this thread where Maxime is talking about drag and drop.
If you have any question about it, please open a new thread. We like to keep question separated.
Cheers,
Manuel