<?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 *I need a method to modify softSelection data in API.MRichSelection class like MSelectionLists.* in Maya Programming Forum</title>
    <link>https://forums.autodesk.com/t5/maya-programming-forum/i-need-a-method-to-modify-softselection-data-in-api/m-p/12608961#M467</link>
    <description>&lt;P&gt;Hi, I'm Geonil.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am making a new manipulator for animators.&lt;/P&gt;&lt;P&gt;It is Multi-Object Controllers &amp;lt;MOVE&amp;gt; or &amp;lt;ROTATE&amp;gt; Tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found &amp;lt;Object Mode&amp;gt; in Soft Select Mode.&lt;/P&gt;&lt;P&gt;However, there is NO MASKING feature in Object Soft Selection mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, I tried to&lt;/P&gt;&lt;P&gt;1. get MGlobal.getRichSelection()&lt;/P&gt;&lt;P&gt;2. modify the MRichSelection&lt;/P&gt;&lt;P&gt;3. apply MGlobal.setRichSelection() method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but, there is no way to modify MRichSelection Class.&lt;/P&gt;&lt;P&gt;It can be transferred into MSelectionLists, but it losts its weight data, soft selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to make new MRichSelection with custom weights values mapping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the method, MGlobal.setRichSelection, only get MRichSelection Class.&lt;/P&gt;&lt;P&gt;setMRichSelection doesn't get Weights Data with MSelectionLists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make my own MRichSelection with my custom weights.&lt;/P&gt;&lt;P&gt;Please make some methods to modify MRichSelection like MSelectionLists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PLEASE.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 03 Mar 2024 10:27:24 GMT</pubDate>
    <dc:creator>8geonilD8J9W</dc:creator>
    <dc:date>2024-03-03T10:27:24Z</dc:date>
    <item>
      <title>*I need a method to modify softSelection data in API.MRichSelection class like MSelectionLists.*</title>
      <link>https://forums.autodesk.com/t5/maya-programming-forum/i-need-a-method-to-modify-softselection-data-in-api/m-p/12608961#M467</link>
      <description>&lt;P&gt;Hi, I'm Geonil.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am making a new manipulator for animators.&lt;/P&gt;&lt;P&gt;It is Multi-Object Controllers &amp;lt;MOVE&amp;gt; or &amp;lt;ROTATE&amp;gt; Tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found &amp;lt;Object Mode&amp;gt; in Soft Select Mode.&lt;/P&gt;&lt;P&gt;However, there is NO MASKING feature in Object Soft Selection mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so, I tried to&lt;/P&gt;&lt;P&gt;1. get MGlobal.getRichSelection()&lt;/P&gt;&lt;P&gt;2. modify the MRichSelection&lt;/P&gt;&lt;P&gt;3. apply MGlobal.setRichSelection() method.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but, there is no way to modify MRichSelection Class.&lt;/P&gt;&lt;P&gt;It can be transferred into MSelectionLists, but it losts its weight data, soft selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to make new MRichSelection with custom weights values mapping.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the method, MGlobal.setRichSelection, only get MRichSelection Class.&lt;/P&gt;&lt;P&gt;setMRichSelection doesn't get Weights Data with MSelectionLists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make my own MRichSelection with my custom weights.&lt;/P&gt;&lt;P&gt;Please make some methods to modify MRichSelection like MSelectionLists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PLEASE.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Mar 2024 10:27:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/maya-programming-forum/i-need-a-method-to-modify-softselection-data-in-api/m-p/12608961#M467</guid>
      <dc:creator>8geonilD8J9W</dc:creator>
      <dc:date>2024-03-03T10:27:24Z</dc:date>
    </item>
  </channel>
</rss>

