<?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: Setting / getting properties using maxscript when some property names are du in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6748958#M13698</link>
    <description>&lt;P&gt;what&amp;nbsp;&lt;STRONG&gt;getpropnames medimaterials[1][1] &lt;/STRONG&gt;says?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;actually run:&lt;/P&gt;&lt;PRE&gt;mat = medimaterials[1] -- where medimaterials[1] is your material
for k=1 to&amp;nbsp;mat.numsubs do
(
         format "sub &amp;gt;&amp;gt; %\n"&amp;nbsp;mat[k]
         print (getpropnames mat[k])
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and tell us the result&lt;/P&gt;</description>
    <pubDate>Wed, 14 Dec 2016 15:00:54 GMT</pubDate>
    <dc:creator>denisT.MaxDoctor</dc:creator>
    <dc:date>2016-12-14T15:00:54Z</dc:date>
    <item>
      <title>Setting / getting properties using maxscript when some property names are dupes</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6742361#M13690</link>
      <description>&lt;P&gt;I'm trying to work with an undocumented material plugin.&lt;/P&gt;&lt;P&gt;For each material I can use showproperties to list out all the properties.&lt;/P&gt;&lt;P&gt;The problem is that there are 8 repeated sections (for the 8 maps in these custom materials) where the property name is the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So when I do showproperties, I see this (for example):&lt;/P&gt;&lt;P&gt;.map : texturemap&lt;BR /&gt;.mipLODBias : float&lt;BR /&gt;.uvChannel : integer&lt;BR /&gt;.numFrames : integer&lt;BR /&gt;.map : texturemap&lt;BR /&gt;.mipLODBias : float&lt;BR /&gt;.uvChannel : integer&lt;BR /&gt;.numFrames : integer&lt;BR /&gt;.map : texturemap&lt;BR /&gt;.mipLODBias : float&lt;BR /&gt;.uvChannel : integer&lt;BR /&gt;.numFrames : integer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I grab the material from medit and query one of those values:&lt;/P&gt;&lt;P&gt;mat=meditmaterials[3]&lt;/P&gt;&lt;P&gt;print mat.mipLODBias&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then it only returns the first value of mipLODBias&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I get / set the other two values that have the same name? I'd thought I might be able to get at them directly by looking in a property array at array items 2,6 and 10 - the three mipLODBias values, but I've been going in circles trying to figure out how to do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2016 00:16:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6742361#M13690</guid>
      <dc:creator>chrisell</dc:creator>
      <dc:date>2016-12-12T00:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6746737#M13691</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3156941"&gt;@chrisell&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am moving this thread to the programming forum because I think you're more likely to get an answer there. &amp;nbsp;I am not a skilled enough scripter to answer this question for you but I have strong hopes that someone in this new forum can help with this. &amp;nbsp;Another option is to &lt;A href="http://usa.autodesk.com/adsk/servlet/item?siteID=123112&amp;amp;id=19350673" target="_blank"&gt;join the ADN&lt;/A&gt; (Autodesk Developer Network) where you have access to a community about programming and scripting. &amp;nbsp;Thank you for your understanding. &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 18:55:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6746737#M13691</guid>
      <dc:creator>Alfred.DeFlaminis</dc:creator>
      <dc:date>2016-12-13T18:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6746773#M13692</link>
      <description>&lt;P&gt;Ok thanks - that makes sense ..&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 19:06:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6746773#M13692</guid>
      <dc:creator>chrisell</dc:creator>
      <dc:date>2016-12-13T19:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6746889#M13693</link>
      <description>&lt;P&gt;we don't have your material and it hard for us to check real properties names... so we need more inspection:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;try these checks:&lt;/P&gt;&lt;PRE&gt;print (getpropnames meditmaterials[1])

for k=1 to meditmaterials[1].numsubs do print meditmaterials[1][k].name&lt;/PRE&gt;&lt;P&gt;(use the right material index)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the way you see property names is shown by a developer. they are looked duplicated, but in the system it absolutely impossible.&lt;/P&gt;&lt;P&gt;so we have to find real &lt;STRONG&gt;property names&lt;/STRONG&gt; or corresponding &lt;STRONG&gt;SubAnim name&lt;/STRONG&gt;s (which are always unique)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 19:38:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6746889#M13693</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2016-12-13T19:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6747479#M13694</link>
      <description>&lt;P&gt;When I dump the property names, I see largely the same thing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#map&lt;BR /&gt;#mipLODBias&lt;BR /&gt;#uvChannel&lt;BR /&gt;#numframes&lt;BR /&gt;#fps&lt;BR /&gt;#horzScrollRate&lt;BR /&gt;#vertScrollRate&lt;BR /&gt;#isAnimated&lt;BR /&gt;#scrollUVs&lt;BR /&gt;#tilingMode&lt;BR /&gt;#uvOperation&lt;BR /&gt;#filterMode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Repeated 8 times. The numsubs loop returns 8 sets of ""&lt;/P&gt;&lt;P&gt;I know there has to be a way to find their ACTUAL names but I'm completely lost as to how to do it.&amp;nbsp;If you fancy a challenge and have Max 2011-2015, these plugins are the material plugins (one for each year) :&amp;nbsp;&lt;A href="https://www.dropbox.com/s/ldqvdp30w4cgmuk/RWMaxPlugins.zip?dl=0" target="_blank"&gt;https://www.dropbox.com/s/ldqvdp30w4cgmuk/RWMaxPlugins.zip?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;They're distributed with the dev tools for a game called Train Simulator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you create a new material, and for the type choose "RWMaterial", you'll get the custom material options. For the ShaderName, choose "TrainBumpSpecEnvMask.fx" and you'll see three slots where textures can be applied as well as a "Mip LOD Bias" and "UV Channel". It's those last two values I'm trying to query and change. But when I do the material.uvChannel, it only queries/changes the one in "Slot 1".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm relatively new to maxscript and I've been spinning my wheels on this for nearly a week, trying to look into the DLL directly, trying the maxscript inspector functions - I just can't figure out how to get at the values I need.&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;</description>
      <pubDate>Tue, 13 Dec 2016 23:30:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6747479#M13694</guid>
      <dc:creator>chrisell</dc:creator>
      <dc:date>2016-12-13T23:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6747496#M13695</link>
      <description>&lt;P&gt;where can I get &lt;SPAN&gt;&lt;STRONG&gt;TrainBumpSpecEnvMask.fx&lt;/STRONG&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 23:36:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6747496#M13695</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2016-12-13T23:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6747511#M13696</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3156941"&gt;@chrisell&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;When I dump the property names, I see largely the same thing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#map&lt;BR /&gt;#mipLODBias&lt;BR /&gt;#uvChannel&lt;BR /&gt;#numframes&lt;BR /&gt;#fps&lt;BR /&gt;#horzScrollRate&lt;BR /&gt;#vertScrollRate&lt;BR /&gt;#isAnimated&lt;BR /&gt;#scrollUVs&lt;BR /&gt;#tilingMode&lt;BR /&gt;#uvOperation&lt;BR /&gt;#filterMode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Repeated 8 times. The numsubs loop returns 8 sets of ""&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;i probably know whats going on... check &lt;STRONG&gt;getpropnames medimaterials[1][1]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it has to give you the list of props shown above. in this case the access to every set is by sub index:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;medimaterials[1][i].mipLODBias&lt;/STRONG&gt;, etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 23:42:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6747511#M13696</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2016-12-13T23:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6747519#M13697</link>
      <description>&lt;P&gt;Agh. So close.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Unknown property: "mipLODbias" in SubAnim:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you look at my reply above, I edited it to include a link to a zip file with the material plugins in it along with instructions on how to create one of these materials to try to poke around in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 23:44:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6747519#M13697</guid>
      <dc:creator>chrisell</dc:creator>
      <dc:date>2016-12-13T23:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6748958#M13698</link>
      <description>&lt;P&gt;what&amp;nbsp;&lt;STRONG&gt;getpropnames medimaterials[1][1] &lt;/STRONG&gt;says?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;actually run:&lt;/P&gt;&lt;PRE&gt;mat = medimaterials[1] -- where medimaterials[1] is your material
for k=1 to&amp;nbsp;mat.numsubs do
(
         format "sub &amp;gt;&amp;gt; %\n"&amp;nbsp;mat[k]
         print (getpropnames mat[k])
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and tell us the result&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 15:00:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6748958#M13698</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2016-12-14T15:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6748975#M13699</link>
      <description>&lt;P&gt;It showed the property names of the bitmaps in the material - it's like it went straight past the slot info into the bitmap info.&lt;/P&gt;&lt;P&gt;Any chance you can install the plugin and take a look? I spent another three hours last night trying to get to the bottom of this but I just don't know enough about maxscript yet. I can populate everything else automatically - I'm creating materials, setting the bitmaps with all their options, filling out all the other attributes but these **** UVchannel and MIPLODBias ones are just killing me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 15:00:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6748975#M13699</guid>
      <dc:creator>chrisell</dc:creator>
      <dc:date>2016-12-14T15:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750062#M13700</link>
      <description>&lt;P&gt;it doesn't work on my machine. it needs some extra data that i don't have (including some XML presets file and&amp;nbsp;TrainBumpSpecEnvMask.fx)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i don't have time to search in internet for &lt;STRONG&gt;the dev tools for a game called Train Simulator.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 21:02:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750062#M13700</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2016-12-14T21:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750212#M13701</link>
      <description>&lt;P&gt;Wow that's weird. You ought to be able to just drop the DLU file into the plugins folder. Let me take a look at my install tonight and see exactly how it sits. I'll also post the results of that last code snippit you sent &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 22:30:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750212#M13701</guid>
      <dc:creator>chrisell</dc:creator>
      <dc:date>2016-12-14T22:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750305#M13702</link>
      <description>&lt;P&gt;Ok my bad - the plugin needs to be installed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Copy the relevant dlu file (RWMaxPlugin20xx_x64.dlu) to the 3ds Max plugins folder (Autodesk\x64\3ds Max 20xx\plugins)&lt;BR /&gt;Start up 3ds max&lt;BR /&gt;Go to Customize menu -&amp;gt; Plug-in Manager&lt;BR /&gt;Right click on any existing plugin, and click Load New Plug-in&lt;BR /&gt;Browse to the plugins folder and choose the RW Max Plugin.&lt;BR /&gt;Restart 3ds max&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also figured it would be worth you seeing the material interface in case you can't / don't want to install the plugin.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The left side shows the main material. In the yellow box are the "slot" tabs. The green box shows the values I want. There are a pair of these values on each tab.&lt;/P&gt;&lt;P&gt;The red box shows what you get when you expand down into the "slot texture" bitmap.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="matplugin.jpg" style="width: 693px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/302611i518E2C042B40A043/image-size/large?v=v2&amp;amp;px=999" role="button" title="matplugin.jpg" alt="matplugin.jpg" /&gt;&lt;/span&gt;&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;P&gt;Anyway -&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output from the code snippit above:&lt;/P&gt;&lt;P&gt;main body:RWMaterial&lt;BR /&gt;sub &amp;gt;&amp;gt; SubAnim:&lt;BR /&gt;#clipu&lt;BR /&gt;#clipv&lt;BR /&gt;#clipw&lt;BR /&gt;#cliph&lt;BR /&gt;#Jitter&lt;BR /&gt;#useJitter&lt;BR /&gt;#apply&lt;BR /&gt;#cropPlace&lt;BR /&gt;#filtering&lt;BR /&gt;#monoOutput&lt;BR /&gt;#rgbOutput&lt;BR /&gt;#alphaSource&lt;BR /&gt;#preMultAlpha&lt;BR /&gt;#bitmap&lt;BR /&gt;#coords&lt;BR /&gt;#output&lt;BR /&gt;#filename&lt;BR /&gt;#starttime&lt;BR /&gt;#playBackRate&lt;BR /&gt;#endCondition&lt;BR /&gt;#tieTimeToMatIDs&lt;BR /&gt;sub &amp;gt;&amp;gt; SubAnim:&lt;BR /&gt;#clipu&lt;BR /&gt;#clipv&lt;BR /&gt;#clipw&lt;BR /&gt;#cliph&lt;BR /&gt;#Jitter&lt;BR /&gt;#useJitter&lt;BR /&gt;#apply&lt;BR /&gt;#cropPlace&lt;BR /&gt;#filtering&lt;BR /&gt;#monoOutput&lt;BR /&gt;#rgbOutput&lt;BR /&gt;#alphaSource&lt;BR /&gt;#preMultAlpha&lt;BR /&gt;#bitmap&lt;BR /&gt;#coords&lt;BR /&gt;#output&lt;BR /&gt;#filename&lt;BR /&gt;#starttime&lt;BR /&gt;#playBackRate&lt;BR /&gt;#endCondition&lt;BR /&gt;#tieTimeToMatIDs&lt;BR /&gt;sub &amp;gt;&amp;gt; SubAnim:&lt;BR /&gt;#clipu&lt;BR /&gt;#clipv&lt;BR /&gt;#clipw&lt;BR /&gt;#cliph&lt;BR /&gt;#Jitter&lt;BR /&gt;#useJitter&lt;BR /&gt;#apply&lt;BR /&gt;#cropPlace&lt;BR /&gt;#filtering&lt;BR /&gt;#monoOutput&lt;BR /&gt;#rgbOutput&lt;BR /&gt;#alphaSource&lt;BR /&gt;#preMultAlpha&lt;BR /&gt;#bitmap&lt;BR /&gt;#coords&lt;BR /&gt;#output&lt;BR /&gt;#filename&lt;BR /&gt;#starttime&lt;BR /&gt;#playBackRate&lt;BR /&gt;#endCondition&lt;BR /&gt;#tieTimeToMatIDs&lt;BR /&gt;sub &amp;gt;&amp;gt; SubAnim:&lt;BR /&gt;undefined&lt;BR /&gt;sub &amp;gt;&amp;gt; SubAnim:&lt;BR /&gt;undefined&lt;BR /&gt;sub &amp;gt;&amp;gt; SubAnim:&lt;BR /&gt;undefined&lt;BR /&gt;sub &amp;gt;&amp;gt; SubAnim:&lt;BR /&gt;undefined&lt;BR /&gt;sub &amp;gt;&amp;gt; SubAnim:&lt;BR /&gt;undefined&lt;BR /&gt;OK&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2016 23:30:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750305#M13702</guid>
      <dc:creator>chrisell</dc:creator>
      <dc:date>2016-12-14T23:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750503#M13703</link>
      <description>&lt;P&gt;i found a way to make the plugin works... hmm... it's not easy to get/set these parameters via pure MXS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what version of MAX do you use?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 02:24:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750503#M13703</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2016-12-15T02:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750517#M13704</link>
      <description>&lt;P&gt;it's an example "how do not write plugins"... i can set all parameters but only using SDK. it was a very bad developer's idea to share property names across different parameter blocks (honestly i thought it's not possible), and make pblock2 nos as Animatable or true ReferenceTarget.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;probably i can set parameters for all blocks via&amp;nbsp;MXS but only in MAX 2016 (c#) or MAX 2017 (c# or python).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;maybe MAX 2015 (c#), but i don't have this version to try&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 02:50:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750517#M13704</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2016-12-15T02:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750551#M13705</link>
      <description>&lt;P&gt;That makes me feel a bit better that the reason I was having so much trouble is that I really can't do what I want with MXS in this case.&lt;/P&gt;&lt;P&gt;I have Max 2015&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you're talking about python and C# - are you talking about an external program that would poke into 3ds max? Or can you embed C# into maxscript somehow?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is really a big hassle, I'll do it by hand and count this as "just one of those things" &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 03:27:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750551#M13705</guid>
      <dc:creator>chrisell</dc:creator>
      <dc:date>2016-12-15T03:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750556#M13706</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3156941"&gt;@chrisell&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Or can you embed C# into maxscript somehow?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;i can embed c# into mxs. you can find many my and other people examples on CGTalk.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 03:27:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750556#M13706</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2016-12-15T03:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750559#M13707</link>
      <description>&lt;P&gt;Ok cool - if you can give me a push in the right direction - some quick guidance on "how" to do it, I'll go and experiment. I'd like to learn for myself how to do this sort of thing.&lt;/P&gt;&lt;P&gt;It sounds like you were able to poke around enough in the plugin to find the values you could set so if you can show me how you did that, or how to get/set values using the SDK I might be able to figure it out from there.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 03:31:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6750559#M13707</guid>
      <dc:creator>chrisell</dc:creator>
      <dc:date>2016-12-15T03:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6752624#M13708</link>
      <description>&lt;PRE&gt;global MaxSDKAssembly
fn CreateMaxSDKAssembly forceRecompile:on =
(
	if forceRecompile or not iskindof ::MaxSDKAssembly dotnetobject or (::MaxSDKAssembly.GetType()).name != "Assembly" do
	(

source = ""
source += "using System;\n"
source += "using Autodesk.Max;\n"
source += "public class MaxSDK\n"
source += "{\n"
source += "	public Object GetGlobal()\n"
source += "	{\n"
source += "		return Autodesk.Max.GlobalInterface.Instance;\n"
source += "	}\n"
source += "}\n"

		csharpProvider = dotnetobject "Microsoft.CSharp.CSharpCodeProvider"
		compilerParams = dotnetobject "System.CodeDom.Compiler.CompilerParameters"

		compilerParams.ReferencedAssemblies.AddRange #("System.dll", getdir #maxroot + @"Autodesk.Max.dll")

		compilerParams.GenerateInMemory = true
		compilerResults = csharpProvider.CompileAssemblyFromSource compilerParams #(source)
		
		if (compilerResults.Errors.Count &amp;gt; 0 ) then
		(
			errs = stringstream ""
			for i = 0 to (compilerResults.Errors.Count-1) do
			(
				err = compilerResults.Errors.Item[i]
				format "Error:% Line:% Column:% %\n" err.ErrorNumber err.Line err.Column err.ErrorText to:errs 
			)
			MessageBox (errs as string) title: "Errors encountered while compiling C# code"
			format "%\n" errs
			undefined
		)
		else
		(
			MaxSDKAssembly = compilerResults.CompiledAssembly
			MaxSDKAssembly.CreateInstance "MaxSDK"
		)
	)
)
MaxSDK = CreateMaxSDKAssembly()&lt;/PRE&gt;&lt;P&gt;using this snippet for max versions 2016+ (2015 maybe) we can get .net max global object:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gi = MaxSDK.GetGlobal()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after that get access to sdk interfaces like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;gi.CoreInterface&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after that get any node (&lt;STRONG&gt;INode&lt;/STRONG&gt;), its material (&lt;STRONG&gt;IMaterial&lt;/STRONG&gt;)...&lt;/P&gt;&lt;P&gt;ask for number of Parameter Blocks, get a Block by index...&lt;/P&gt;&lt;P&gt;get a list of &lt;STRONG&gt;PBlock2&lt;/STRONG&gt; parameters, find a parameter index by name, set and get a parameter by index, etc... and so on&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;</description>
      <pubDate>Thu, 15 Dec 2016 19:55:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6752624#M13708</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2016-12-15T19:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: Setting / getting properties using maxscript when some property names are du</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6753171#M13709</link>
      <description>&lt;P&gt;I'm trying ..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you give me any more clues? How do I query a material with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand what you mean by IMaterial and PBlock2.&lt;/P&gt;&lt;P&gt;I can showproperties on gi.CoreInterface but I don't understand what to do with this info.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like I said I'm a total newbie to maxscript ... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm so lost right now I might just resign to doing this by hand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 00:24:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/setting-getting-properties-using-maxscript-when-some-property/m-p/6753171#M13709</guid>
      <dc:creator>chrisell</dc:creator>
      <dc:date>2016-12-16T00:24:27Z</dc:date>
    </item>
  </channel>
</rss>

