Icons in MenuFlushAll() is Possible?

On 03/06/2014 at 15:21, xxxxxxxx wrote:

Hi 🙂

Is possible, in MenuFlushAll(), add icons in command?

self.MenuFlushAll()

# Example
        self.MenuSubBegin("Test")
        self.MenuAddString(21001, "Command1")
        self.MenuAddString(21002, "Command2")
        self.MenuSubEnd()

self.MenuFinished()

I have used this metod, but not work...

self.MenuFlushAll()

# Example
        self.MenuSubBegin("Test")
        self.MenuAddString(21001, "Command1&i" + str(c4d.ID_MODELING_MOVE) + "&")
        self.MenuAddString(21002, "Command2&i" + str(c4d.ID_MODELING_ROTATE) + "&")
        self.MenuSubEnd()

self.MenuFinished()

Thanks

On 03/06/2014 at 21:57, xxxxxxxx wrote:

Unfortunately, it doesn't work that way in dialog menus. When a Menu Entry has an Icon, it
is a Command Plugin added with MenuAddCommand().

-Niklas