import maya.cmds as mc
currSel = mc.ls (sl=True, l=1, dag=1, type='geometryShape')
for i in currSel:
mc.evalDeferred('mc.setAttr(i + ".miProxyFile", "assets/asset_output/koshijawa_slumHouse_A.mi", type="string")')
It doesn't work as expected.. when scripting it - the boundingbox does not scale up proberly.
but If I click once in the field and then resource the script.. the one object which I clicked into the miProxyFile field get's scaled up.
and actually wrongly jumps to the origin which is totally stupid and doesn't make sense for me.
is this a nother bug in 2009 osx?
shouldn't it work like, scattering cubes first and then assigning proxies to the cubes and hit render...!?!
can't get along with the project without having proxies.