MenuAddCommand()
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 20/01/2003 at 13:30, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;---------
How can I add the command:
Set Vertex Weight ... (Menu: Selection)
to my menu with MenuAddCommand()?The problem is that:
IDM_SETVERTEX_FROM_SELECTION
has no (direct) id in the enum list.
(C4D/resource/c4d_symbols.coh)IDM_RESTRICTION,
IDM_SETVERTEX_FROM_SELECTION,
R_SETVERTEX_FROM_SELECTION,
IDC_SETVERTEX_VALUE,
IDC_SETVERTEX_BORDER,
IDC_SETVERTEX_MODE,(okay, I can calc it, but as soon as
Maxon adds an item the command does not work!) -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/01/2003 at 12:25, xxxxxxxx wrote:
That's true. However, from the comments in that file it seems it's very carefully edited in order not to break layouts etc. So I think you're safe if you just include the .coh file or calculate the value. ("alt, kann aber nicht entfernt werden, da sonst layout kaputt")