Force VertexMap display



  • 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?



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


  • 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.



  • 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.



  • 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.


Log in to reply