<?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: Noob question on how to same custom data in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9147713#M7469</link>
    <description>&lt;P&gt;I finally achieved to do my task.&lt;/P&gt;&lt;P&gt;I struggled a little bit and speaking of "structured code" it is not perfect for sure.&lt;/P&gt;&lt;P&gt;But for anyone of Autodesk who will ever read this post, I would like just to suggest to add an example on the SDK, on how to implement a view/model based plugin in QT&lt;/P&gt;&lt;P&gt;thanks for your help&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2019 21:49:14 GMT</pubDate>
    <dc:creator>elpie89</dc:creator>
    <dc:date>2019-11-14T21:49:14Z</dc:date>
    <item>
      <title>Noob question on how to same custom data</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9133773#M7462</link>
      <description>&lt;P&gt;Hi all, I'm writing a c++ plugin for 3dsmax using Qt. The plugin is a custom modifier&lt;BR /&gt;Inside my modifier, I show a QListView where I display some custom data&lt;BR /&gt;I would like to be able to store those data with the modifier of course, but I do not understand if there is a way to save it with the parameter block.&lt;BR /&gt;a sort of way to store a custom object as a parameter&lt;BR /&gt;Right now I'm using the load/save method to write my data in the file&lt;/P&gt;&lt;P&gt;But I'm not sure if this is the right way to work&lt;/P&gt;&lt;P&gt;What do you think?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 17:43:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9133773#M7462</guid>
      <dc:creator>elpie89</dc:creator>
      <dc:date>2019-11-07T17:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Noob question on how to same custom data</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9133986#M7463</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2166134"&gt;@elpie89&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I'm writing a c++ plugin for 3dsmax using Qt. The plugin is a custom modifier&lt;BR /&gt;Inside my modifier, I show a QListView where I display some custom data&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;you have chosen a serious task for a noob&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_without_mouth:"&gt;😶&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;a sort of way to store a custom object as a parameter&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;what kind of the custom object and the parameter of what do you have?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 19:47:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9133986#M7463</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2019-11-07T19:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Noob question on how to same custom data</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9134181#M7464</link>
      <description>&lt;P&gt;I have a custom class that contains a bunch of float used to draw a collision gizmo in max,&lt;/P&gt;&lt;P&gt;So an artist will be able to add a modifier to a node, create a series of collision object drawn by the viewport and, these collisions objects are selectable inside the qlistview of the modifier&lt;/P&gt;&lt;P&gt;So at the and I will have to save a structure where a collision data list is associated with a node.&lt;/P&gt;&lt;P&gt;I hope it is clearer.&lt;/P&gt;&lt;P&gt;Just to give some context, in my company we have a custom engine, where collision data for the mesh are specified on exported data, and not in the editor as in unity or unreal&lt;/P&gt;&lt;P&gt;For many years we used custom gizmos, children of the node and exported in our custom format.&lt;/P&gt;&lt;P&gt;It works, but this is a huge mess when you have to export a huge scene with many nodes and you end up increasing exponentially the number of node inside the scene.&lt;/P&gt;&lt;P&gt;That is why I'm moving this data inside a modifier&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And of course its noob from max sdk&amp;nbsp; c++ point of view&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm quite comfortable with maxplus and qt but I think I needed more control that why I'm going with c++&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2019 21:23:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9134181#M7464</guid>
      <dc:creator>elpie89</dc:creator>
      <dc:date>2019-11-07T21:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Noob question on how to same custom data</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9134540#M7465</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2166134"&gt;@elpie89&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;I have a custom class that contains a bunch of float used to draw a collision gizmo in max,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;There are two built-in MAX API places where you can store (save and load) data of this kind:&lt;/P&gt;&lt;P&gt;#1 - custom attribute&lt;/P&gt;&lt;P&gt;#2 - application data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would probably stick with AppData&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 02:05:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9134540#M7465</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2019-11-08T02:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Noob question on how to same custom data</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9134959#M7466</link>
      <description>&lt;P&gt;do you mean this one?&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.autodesk.com/view/3DSMAX/2019/ENU/?guid=__developer_3ds_max_sdk_features_scenes_and_nodes_custom_scene_data_application_data_html" target="_blank"&gt;https://help.autodesk.com/view/3DSMAX/2019/ENU/?guid=__developer_3ds_max_sdk_features_scenes_and_nodes_custom_scene_data_application_data_html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Seems to be perfect for my needs&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 09:06:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9134959#M7466</guid>
      <dc:creator>elpie89</dc:creator>
      <dc:date>2019-11-08T09:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Noob question on how to same custom data</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9135183#M7467</link>
      <description>&lt;P&gt;Yes. This is it. I use the AppData in many tools I made.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 10:52:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9135183#M7467</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2019-11-08T10:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Noob question on how to same custom data</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9143415#M7468</link>
      <description>&lt;P&gt;I wonder what is the best way to communicate between my data filled inside the qt widget class&lt;/P&gt;&lt;P&gt;and the actual modifier class&lt;/P&gt;&lt;P&gt;In a more standard case parameter block works as a sort of already implemented observer pattern.&lt;/P&gt;&lt;P&gt;At least if I understood what I'm doing&lt;/P&gt;&lt;P&gt;What if the display function of the modifier should read from a qt view/model object?&lt;/P&gt;&lt;P&gt;In my case seems like I should implement a custom observer pattern, am I right?&lt;/P&gt;&lt;P&gt;What do you think?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 09:53:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9143415#M7468</guid>
      <dc:creator>elpie89</dc:creator>
      <dc:date>2019-11-13T09:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Noob question on how to same custom data</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9147713#M7469</link>
      <description>&lt;P&gt;I finally achieved to do my task.&lt;/P&gt;&lt;P&gt;I struggled a little bit and speaking of "structured code" it is not perfect for sure.&lt;/P&gt;&lt;P&gt;But for anyone of Autodesk who will ever read this post, I would like just to suggest to add an example on the SDK, on how to implement a view/model based plugin in QT&lt;/P&gt;&lt;P&gt;thanks for your help&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 21:49:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/noob-question-on-how-to-same-custom-data/m-p/9147713#M7469</guid>
      <dc:creator>elpie89</dc:creator>
      <dc:date>2019-11-14T21:49:14Z</dc:date>
    </item>
  </channel>
</rss>

