<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Set sub-object selection for VertexPaint modifier in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14182270#M29538</link>
    <description>&lt;P&gt;Thanks spacefrog_,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, the VertexPaint modifier that's in the samples is the legacy one that's been deprecated in 2003, it's hidden so so you cannot add it to an object, but it will be loaded if you open a max file that's using VertexPaint from before 2003.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;class VertexPaintClassDesc:public ClassDesc {
   public:
   // MAB - 5/23/03 - Original Vertex Paint is retired and removed from the UI;
   // Class name changed to OldVertexPaint to avoid maxscript name conflict with the newer modifier
   int         IsPublic()              {
      return 0;
   }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2026 10:28:48 GMT</pubDate>
    <dc:creator>e_bustaty3ATQ5</dc:creator>
    <dc:date>2026-06-29T10:28:48Z</dc:date>
    <item>
      <title>Set sub-object selection for VertexPaint modifier</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14178992#M29533</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The VertexPaint modifier has sub-object selection functionality, where the sub-object level can be vertex, face, or element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using MaxScript, and I want to be able to save and restore the sub-object selection, I can read and write what sub-object level is selected using&amp;nbsp;&lt;FONT face="courier new,courier"&gt;subObjectLevel&lt;/FONT&gt;, and I can read the actual BitArray of what's selected using &lt;FONT face="courier new,courier"&gt;getVertSelection&lt;/FONT&gt;&amp;nbsp;and &lt;FONT face="courier new,courier"&gt;getFaceSelection&lt;/FONT&gt;&amp;nbsp;(which only works if the selected object had a mesh base).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But what I cannot do, is write the BitArray of the current selection. Calls to &lt;FONT face="courier new,courier"&gt;setVertSelection&lt;/FONT&gt;&amp;nbsp;/ &lt;FONT face="courier new,courier"&gt;setFaceSelection&lt;/FONT&gt;&amp;nbsp;will either have no effect or will complain of "Mesh operation on non-mesh".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am aware of other methods that can set the selection for and editable poly or a node with e.g. Edit_Poly modifier, but what I need is to set the vertex selection for the VertexPaint modifier itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any way this can be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2026 16:08:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14178992#M29533</guid>
      <dc:creator>e_bustaty3ATQ5</dc:creator>
      <dc:date>2026-06-25T16:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set sub-object selection for VertexPaint modifier</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14180017#M29535</link>
      <description>&lt;P&gt;I also checked interface methods for IVertexPaint but these don't seem to help.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2026 13:18:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14180017#M29535</guid>
      <dc:creator>e_bustaty3ATQ5</dc:creator>
      <dc:date>2026-06-26T13:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set sub-object selection for VertexPaint modifier</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14180678#M29536</link>
      <description>&lt;P class=""&gt;Autodesk developers may correct me, since they have access to the source code. But as far as I know, the Vertex Paint modifier does not expose a real sub-object selection interface.&lt;/P&gt;&lt;P&gt;Whether vertices or faces are currently "selected" appears to be an internal state of the modifier rather than an actual sub-object selection exposed through the standard interface.&lt;BR /&gt;&lt;BR /&gt;Since there is no exposed sub-object selection interface, there is simply no workaround available.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jun 2026 06:03:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14180678#M29536</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2026-06-27T06:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set sub-object selection for VertexPaint modifier</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14181301#M29537</link>
      <description>&lt;P&gt;i did'nt look up the details regarding exposure of subselection, but Vertex Paint modifier source is part of the sample folder of the 3ds Max SDK&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jun 2026 06:49:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14181301#M29537</guid>
      <dc:creator>spacefrog_</dc:creator>
      <dc:date>2026-06-28T06:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set sub-object selection for VertexPaint modifier</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14182270#M29538</link>
      <description>&lt;P&gt;Thanks spacefrog_,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, the VertexPaint modifier that's in the samples is the legacy one that's been deprecated in 2003, it's hidden so so you cannot add it to an object, but it will be loaded if you open a max file that's using VertexPaint from before 2003.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;class VertexPaintClassDesc:public ClassDesc {
   public:
   // MAB - 5/23/03 - Original Vertex Paint is retired and removed from the UI;
   // Class name changed to OldVertexPaint to avoid maxscript name conflict with the newer modifier
   int         IsPublic()              {
      return 0;
   }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 10:28:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14182270#M29538</guid>
      <dc:creator>e_bustaty3ATQ5</dc:creator>
      <dc:date>2026-06-29T10:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set sub-object selection for VertexPaint modifier</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14182279#M29539</link>
      <description>&lt;P&gt;Thanks Denis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that's right, I think that the modifier will sync the sub-selection that max reads when the user changes the sub-selection (because you can add vertex paint, do a sub-selection, then if you add a modifier on top of it it will be restricted to the selected faces),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it doesn't sync in-reverse, because if I use setFaceSelection, the actual selection that VertexPaint is working with doesn't change.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how does one go about requesting a feature in Max to expose the sub-selection of VertexPaint?&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 10:37:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14182279#M29539</guid>
      <dc:creator>e_bustaty3ATQ5</dc:creator>
      <dc:date>2026-06-29T10:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set sub-object selection for VertexPaint modifier</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14182801#M29540</link>
      <description>&lt;P&gt;&lt;EM&gt;So how does one go about requesting a feature in Max to expose the sub-selection of VertexPaint?&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;First of all, we should ask Autodesk to include the source code of the &lt;STRONG&gt;new VertexPaint&lt;/STRONG&gt; modifier in the SDK samples.&lt;/P&gt;&lt;P&gt;The old source code is only useful if someone is writing the history of Autodesk 3ds Max.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2026 17:16:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14182801#M29540</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2026-06-29T17:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set sub-object selection for VertexPaint modifier</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14183305#M29541</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/19057069"&gt;@e_bustaty3ATQ5&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Unfortunately, the VertexPaint modifier that's in the samples is the legacy one that's been deprecated in 2003, it's hidden so so you cannot add it to an object, but it will be loaded if you open a max file that's using VertexPaint from before 2003.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Indeed, sorry for the dead end hint&lt;/P&gt;
&lt;P&gt;What a sneaky, nasty thing to do, misleading me like that ...&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smirking_face:"&gt;😏&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 04:20:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14183305#M29541</guid>
      <dc:creator>spacefrog_</dc:creator>
      <dc:date>2026-06-30T04:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set sub-object selection for VertexPaint modifier</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14183342#M29542</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;What a sneaky, nasty thing to do, misleading me like that ...&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smirking_face:"&gt;😏&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Haha... I fall for that trick every 3–4 years.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 05:16:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/set-sub-object-selection-for-vertexpaint-modifier/m-p/14183342#M29542</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2026-06-30T05:16:24Z</dc:date>
    </item>
  </channel>
</rss>

