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
    • Recent
    • Tags
    • Users
    • Admin
    • Login

    Force VertexMap display

    Scheduled Pinned Locked Moved PYTHON Development
    5 Posts 0 Posters 447 Views
    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 Offline
      Helper
      last edited by

      On 26/04/2016 at 12:22, xxxxxxxx wrote:

      I'm creating a plugin tag that adjusts a vertex map on an object.
      Until now, to adjust the parameters of the plugin tag and see the results, I have to select my plugin tag, lock the Attribute Manager and then click the Vertex Map so that Cinema 4D displays the red/yellow information.
      I have a LINK field in my plugin tag that holds the Vertex Map (if this is useful for the solution).
      Is there any way to force Cinema 4D to display the Vertex Map colors without having to click the Vertex Map tag?

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

        On 26/04/2016 at 23:58, xxxxxxxx wrote:

        Hi Rui,

        You can set the Vertex Map tag as active without clicking on it with:

        tag.SetBit(c4d.BIT_ACTIVE)
        
        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 27/04/2016 at 00:16, xxxxxxxx wrote:

          Thank you, Yannick.
          I had already tried that but when I make it active, if I don't have the Attribute Manager locked in my plugin tag, I get "2 Elements" selected in the Attribute Manager and I can't see my plugin tag parameters.

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

            On 27/04/2016 at 04:42, xxxxxxxx wrote:

            This looks like a limitation of the Vertex Map tag and polygon objects drawing.
            The Vertex Map tag has to be active to be drawn correctly.

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

              On 27/04/2016 at 05:11, xxxxxxxx wrote:

              Thank you for the info, Yannick.

              If I really wanted it, I could could a custom SceneHook plugin, isn't it?
              But I would have to do it in C++.
              I already did that for another plugin that I coded.
              Well, in this case, it is just a matter of locking the Attribute Manager, so I will leave it like this.
              But it would be great if we could force the display of Vertex Maps, or Weight Maps or Joint Weights, without having to click the relevant tags.

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