<?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: Scripted Plugin Controller Rollout Keeps Popping off the Motion Panel in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12037050#M2449</link>
    <description>&lt;P&gt;Ok, so it's not just me then. Thanks for the confirmation. I'll see if I can figure out how to submit it as a bug and see what happens from there. Thanks again!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jun 2023 18:01:15 GMT</pubDate>
    <dc:creator>andy.van.dalsem</dc:creator>
    <dc:date>2023-06-15T18:01:15Z</dc:date>
    <item>
      <title>Scripted Plugin Controller Rollout Keeps Popping off the Motion Panel</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12032360#M2443</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a strange problem.&lt;BR /&gt;&lt;BR /&gt;I'm messing around with the sample float controller scripted plugin &lt;A href="https://help.autodesk.com/view/MAXDEV/2022/ENU/?guid=GUID-ADDDDBA8-D07F-4B1B-A614-274719165B9F" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;in the help files and whenever I assign the controller the UI that used to attach to the Motion Panel keeps popping off in to it's own dialog box.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="andyvandalsem_1-1686719698665.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1227311iD22573D6B2B55DBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="andyvandalsem_1-1686719698665.png" alt="andyvandalsem_1-1686719698665.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you close the dialog window the UI is no longer accessible anywhere.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same thing is happening on an MCG controller plugin I was messing with. The UI was populating in the Motion Panel just fine, then suddenly it stopped.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I restored factory defaults, even restarted the PC, the UI just won't go back to how it used to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone else ever seen this? I can't track down what's happening. The script is right out of the help files so I think something else is going on.&amp;nbsp; I'm in Max 2024.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 05:19:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12032360#M2443</guid>
      <dc:creator>andy.van.dalsem</dc:creator>
      <dc:date>2023-06-14T05:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted Plugin Controller Rollout Keeps Popping off the Motion Panel</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12032853#M2444</link>
      <description>&lt;P&gt;My post may sound like an offtopic, but I want to say that since adding Scripted Controllers to MAX, I have not been able to find any useful application for them. And it's not that I don't want to or don't know how... It's just that I've always found better solutions than using Scripted Controllers.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 09:12:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12032853#M2444</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2023-06-14T09:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted Plugin Controller Rollout Keeps Popping off the Motion Panel</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12034275#M2445</link>
      <description>&lt;P&gt;Yeah, I was actually revisiting an old idea I had where I was just using custAttributes attached to a controller that worked pretty well, but thought it might be interesting to package it up as it's own controller type.&amp;nbsp;More than anything it just &lt;EM&gt;seemed&lt;/EM&gt; like a convenient way to prototype an idea.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only real benefits I saw to doing it as a scripted controller were 1) I could assign it directly from the Assign Controller dialog and 2) it gave me a nice UI right inside the Motion Panel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The UI was working fine a few days ago then suddenly, out of nowhere, any scripted controller with a rollout creates the UI items in a floating dialog that can't be accessed again once the dialog's been closed (without a script command, at least). Obviously, this pretty much negates any of the convenience I thought the scripted controller was giving me in the first place.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So even though scripted controllers may not have much use, or their effects could be better achieved in other ways, I just want to figure out what broke. Why isn't the UI going where it used to?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 18:20:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12034275#M2445</guid>
      <dc:creator>andy.van.dalsem</dc:creator>
      <dc:date>2023-06-14T18:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted Plugin Controller Rollout Keeps Popping off the Motion Panel</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12034860#M2446</link>
      <description>&lt;P&gt;post here the full code you are using, so people can reproduce the issue while working with the exactly same code&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 23:48:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12034860#M2446</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2023-06-14T23:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted Plugin Controller Rollout Keeps Popping off the Motion Panel</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12034977#M2447</link>
      <description>&lt;P&gt;Ok. I linked to it in the first post but here's the code I'm using from the help page:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;plugin&lt;/SPAN&gt; &lt;SPAN class=""&gt;FloatController&lt;/SPAN&gt;&lt;SPAN class=""&gt; FloatController_simplified_example&lt;/SPAN&gt;&lt;SPAN class=""&gt;name:&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Simplified FloatController Example"&lt;/SPAN&gt;
&lt;SPAN class=""&gt;usePBValidity:&lt;/SPAN&gt;&lt;SPAN class=""&gt;false&lt;/SPAN&gt; &lt;SPAN class=""&gt;-- false because time dependent&lt;/SPAN&gt;
&lt;SPAN class=""&gt;classID:&lt;/SPAN&gt;&lt;SPAN class=""&gt;#(&lt;/SPAN&gt;&lt;SPAN class=""&gt;0xc1dbcd6&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;0x70ecb08a&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;(&lt;/SPAN&gt;    
    &lt;SPAN class=""&gt;parameters&lt;/SPAN&gt;&lt;SPAN class=""&gt; pblock &lt;/SPAN&gt;&lt;SPAN class=""&gt;rollout:&lt;/SPAN&gt;&lt;SPAN class=""&gt;params
    &lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;        &lt;BR /&gt;        offset_value &lt;/SPAN&gt;&lt;SPAN class=""&gt;type:&lt;/SPAN&gt;&lt;SPAN class=""&gt;#float&lt;/SPAN&gt; &lt;SPAN class=""&gt;animatable:&lt;/SPAN&gt;&lt;SPAN class=""&gt;true&lt;/SPAN&gt; &lt;SPAN class=""&gt;ui:&lt;/SPAN&gt;&lt;SPAN class=""&gt;offset_value
        valueController &lt;/SPAN&gt;&lt;SPAN class=""&gt;type:&lt;/SPAN&gt;&lt;SPAN class=""&gt;#maxobject&lt;/SPAN&gt; &lt;SPAN class=""&gt;subAnim:&lt;/SPAN&gt;&lt;SPAN class=""&gt;true&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;rollout&lt;/SPAN&gt;&lt;SPAN class=""&gt; params &lt;/SPAN&gt;&lt;SPAN class=""&gt;"FloatController Test Parameters"&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;(&lt;/SPAN&gt;
        &lt;SPAN class=""&gt;Spinner&lt;/SPAN&gt;&lt;SPAN class=""&gt; offset_value &lt;/SPAN&gt;&lt;SPAN class=""&gt;"Offset Value:"&lt;/SPAN&gt; &lt;SPAN class=""&gt;range:&lt;/SPAN&gt;&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;1e9&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;40&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;on&lt;/SPAN&gt; &lt;SPAN class=""&gt;getValue&lt;/SPAN&gt; &lt;SPAN class=""&gt;do&lt;/SPAN&gt; 
    &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;        &lt;BR /&gt;        valueController.value &lt;/SPAN&gt;&lt;SPAN class=""&gt;+&lt;/SPAN&gt;&lt;SPAN class=""&gt;offset_value &lt;/SPAN&gt;&lt;SPAN class=""&gt;+&lt;/SPAN&gt; &lt;SPAN class=""&gt;currentTime&lt;/SPAN&gt; &lt;SPAN class=""&gt;as&lt;/SPAN&gt; &lt;SPAN class=""&gt;integer&lt;/SPAN&gt; &lt;SPAN class=""&gt;/&lt;/SPAN&gt; &lt;SPAN class=""&gt;framerate&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;)&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;on&lt;/SPAN&gt;&lt;SPAN class=""&gt; setValue val relVal commit &lt;/SPAN&gt;&lt;SPAN class=""&gt;do&lt;/SPAN&gt; 
    &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;        &lt;BR /&gt;        val &lt;/SPAN&gt;&lt;SPAN class=""&gt;-=&lt;/SPAN&gt; &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt; offset_value&lt;/SPAN&gt;&lt;SPAN class=""&gt;+&lt;/SPAN&gt; &lt;SPAN class=""&gt;currentTime&lt;/SPAN&gt; &lt;SPAN class=""&gt;as&lt;/SPAN&gt; &lt;SPAN class=""&gt;integer&lt;/SPAN&gt; &lt;SPAN class=""&gt;/&lt;/SPAN&gt; &lt;SPAN class=""&gt;framerate&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;        &lt;BR /&gt;        SetControllerValue valueController val commit &lt;/SPAN&gt;&lt;SPAN class=""&gt;#absolute&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;)&lt;/SPAN&gt;    
    &lt;SPAN class=""&gt;on&lt;/SPAN&gt;&lt;SPAN class=""&gt; create &lt;/SPAN&gt;&lt;SPAN class=""&gt;do&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;        &lt;BR /&gt;        valueController &lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt; NewDefaultFloatController&lt;/SPAN&gt;&lt;SPAN class=""&gt;()&lt;/SPAN&gt;&lt;SPAN class=""&gt;        &lt;BR /&gt;        isLeaf&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;true&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;/*  Test case:
t = teapot isselected:true
t.radius.controller = c = FloatController_simplified_example()
c.isKeyable = true
c.isleaf = false
*/&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;This is the second example on the page, but the first more complicated example has the same issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code initially produced a controller with UI that populated the Motion Panel. Then something happened and now the UI on any scripted controller only appears on a floating dialog window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think the code's the issue since it's happening on any and every scripted controller I've tried, but, this is code I've seen the issue with.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 01:33:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12034977#M2447</guid>
      <dc:creator>andy.van.dalsem</dc:creator>
      <dc:date>2023-06-15T01:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted Plugin Controller Rollout Keeps Popping off the Motion Panel</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12035545#M2448</link>
      <description>&lt;P&gt;All I can do is confirm the problem... Why this is happening, I can't figure out. It doesn't look like a feature, it looks more like a bug.&lt;BR /&gt;We can only hope that someone from the 3DS MAX developers will give an explanation for this behavior.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 08:14:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12035545#M2448</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2023-06-15T08:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Scripted Plugin Controller Rollout Keeps Popping off the Motion Panel</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12037050#M2449</link>
      <description>&lt;P&gt;Ok, so it's not just me then. Thanks for the confirmation. I'll see if I can figure out how to submit it as a bug and see what happens from there. Thanks again!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 18:01:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/scripted-plugin-controller-rollout-keeps-popping-off-the-motion/m-p/12037050#M2449</guid>
      <dc:creator>andy.van.dalsem</dc:creator>
      <dc:date>2023-06-15T18:01:15Z</dc:date>
    </item>
  </channel>
</rss>

