<?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: How can I assign multiple objects with wire parameters? in 3ds Max Animation and Rigging Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-animation-and-rigging/how-can-i-assign-multiple-objects-with-wire-parameters/m-p/5790706#M9935</link>
    <description>&lt;P&gt;Well, individually in a loop, which is still much easier (and a one-liner, anyway). For example in this scene setup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;delete objects
master = dummy prefix:#master pos:[0,10,0] boxSize:[5,5,5]
for x = -5 to 5 do for y = -5 to 5 do box prefix:#slave width:0.5 length:0.5 height:0.5 pos:[x,y,0]&lt;/PRE&gt;&lt;P&gt;connecting the dummy rotation divided by two to all the boxes would be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;for obj in $slave* do paramWire.connect master[#transform][#rotation][#z_rotation] obj[#transform][#rotation][#z_rotation] "z_rotation / 2"&lt;/PRE&gt;&lt;P&gt;In some cases, a better solution might be to use script controller or expression controller, or even instance the original controller if you don't want to change the value, i.e.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;for obj in $slave* do obj.rotation.controller[3].controller = master.rotation.controller[3].controller&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2015 06:48:46 GMT</pubDate>
    <dc:creator>Swordslayer</dc:creator>
    <dc:date>2015-08-27T06:48:46Z</dc:date>
  </channel>
</rss>

