I know how to use the method below to create a popup menu:
c4d.gui.ShowPopupDialog(cd, bc, x, y, flags=POPUP_RIGHT|POPUP_EXECUTECOMMANDS)
(x (int) – Popup X position in screen pixels, or c4d.MOUSEPOS to popup where the cursor is.
y (int) – Popup Y position in screen pixels, or c4d.MOUSEPOS to popup where the cursor is.)
I want the menu to popup at a position like this:x=c4d.mousepos+200,y=c4d.mousepos+200
but it do not work. is there a way?
thank you very much!