I´m trying to develop a script, that generates mrproxies from selected objects, but the script generates only the first object and then stops..
start_value = 0
end_value = 10
for i in selection do
mypath = "D://temp//"
myfile = mypath + i.name as string + "_.mib"
myProxy = mr_proxy()
myProxy.srcgeometry = i
-- until now the script works fine
myProxy.writeProxy i myfile replace:false animation: true zoom: true start: start_value end: end_value
-- generates exactly one mrproxy and then stops
I would really appreciate your help...
thanks in advance.