Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    MenuAddCommand()

    SDK Help
    0
    2
    435
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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!)

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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")

        1 Reply Last reply Reply Quote 0
        • First post
          Last post