Hi there, I'm trying to mirror object via SendModelingCommand(c4d.MCOMMAND_MIRROR, ..)
But I cann't understand how to change a coordinate system.
According to the documentation this options is called MDATA_MIRROR_SYSTEM
and it's int
type.
Its description says Coordinate system. (See dialog.)
I believe it is the dialog:
It seems like 0 means Object, 1 - World, 2 - Screen.
I tried different values from 0 to 30, but it didn't take any effect.
The code I'm using:
settings = c4d.BaseContainer()
settings[c4d.MDATA_MIRROR_SYSTEM] = 0
res = utils.SendModelingCommand(c4d.MCOMMAND_MIRROR,
[obj],
c4d.MODELINGCOMMANDMODE_ALL,
settings,
doc)
I cannot change MDATA_MIRROR_PLANE
either.
There is no additional information in the documentation.
Drag'n'drop for these fields doesn't work. It's strange, because it works perfectly for other tools.
I found this post (from 2011) https://plugincafe.maxon.net/topic/5497/5516_mirror-tool-bug
It seems that bug is still alive :(
Version: R20
Platform: Windows
Cheers