<?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: Can't set Hole fill mode in inspector with mmapi. in Meshmixer Forum</title>
    <link>https://forums.autodesk.com/t5/meshmixer-forum/can-t-set-hole-fill-mode-in-inspector-with-mmapi/m-p/13022081#M167</link>
    <description>&lt;P&gt;Appreciate the help.&lt;/P&gt;</description>
    <pubDate>Sun, 15 Sep 2024 16:36:43 GMT</pubDate>
    <dc:creator>eliot543</dc:creator>
    <dc:date>2024-09-15T16:36:43Z</dc:date>
    <item>
      <title>Can't set Hole fill mode in inspector with mmapi.</title>
      <link>https://forums.autodesk.com/t5/meshmixer-forum/can-t-set-hole-fill-mode-in-inspector-with-mmapi/m-p/13019768#M165</link>
      <description>&lt;P&gt;I can't set hole fill mode in inspector tool trough mmapi, in StoredCommands.h it shows that to change hole fill mode to minimall fill "replaceType" needs to be changed to 0, it doesn't show values for each mode in inspector description but I found it in erase, there is replaceType: integer values: MinimalFill = 0, FlatRefinedMesh = 1, MVCPlanarDeformation = 2 I assumed I can use them the same in inspector. Setting&amp;nbsp;AppendToolParameterCommand("replaceType", 0) does nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any help.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 17:47:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/meshmixer-forum/can-t-set-hole-fill-mode-in-inspector-with-mmapi/m-p/13019768#M165</guid>
      <dc:creator>eliot543</dc:creator>
      <dc:date>2024-09-13T17:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can't set Hole fill mode in inspector with mmapi.</title>
      <link>https://forums.autodesk.com/t5/meshmixer-forum/can-t-set-hole-fill-mode-in-inspector-with-mmapi/m-p/13020754#M166</link>
      <description>&lt;P&gt;It's just an issue of UI updating:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;mm.begin_tool(remote, 'inspector')
mm.set_toolparam(remote, 'replaceType', 2 ) # 0=MinimalFill, 1=FlatFill, 2= SmoothFill&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;works, but the dropdown isn't updated. So if you do a AutoRepairAll or click a marker it will be filled smooth while the dropdown still shows default FlatFill. Try it ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;As soon as you pull the SmallThresh slider it is updated correctly.&lt;/P&gt;&lt;P&gt;Just in case you want a correct UI for user actions you might fix this update issue via code to update the dropdown doing the same:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;mm.begin_tool(remote, 'inspector')
mm.set_toolparam(remote, 'replaceType', 2 ) # 0=MinimalFill, 1=FlatFill, 2= SmoothFill
#cur_val = mm.get_toolparam(remote, 'smallComponentThreshold') # store current value if needed
mm.set_toolparam(remote, 'smallComponentThreshold', 0) # change the slider to zero
#mm.set_toolparam(remote, 'smallComponentThreshold', cur_val) # reset it to current value if needed&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2024 10:28:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/meshmixer-forum/can-t-set-hole-fill-mode-in-inspector-with-mmapi/m-p/13020754#M166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-14T10:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't set Hole fill mode in inspector with mmapi.</title>
      <link>https://forums.autodesk.com/t5/meshmixer-forum/can-t-set-hole-fill-mode-in-inspector-with-mmapi/m-p/13022081#M167</link>
      <description>&lt;P&gt;Appreciate the help.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2024 16:36:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/meshmixer-forum/can-t-set-hole-fill-mode-in-inspector-with-mmapi/m-p/13022081#M167</guid>
      <dc:creator>eliot543</dc:creator>
      <dc:date>2024-09-15T16:36:43Z</dc:date>
    </item>
  </channel>
</rss>

