Hi. I can't seem to export separate fbx files from looping the current selection. Even if I duplicate to another collection and loop over that it still stops after the first export.
This is in a scripted plugin in python.
Any help would be appreciated
Thanks
can't batch export fbx
- csaez
- Posts: 253
- Joined: 09 Jul 2012, 15:31
- Skype: csaezmargotta
- Location: Sydney, Australia
- Contact:
Re: can't batch export fbx
I'm not in front of softimage but it seems like you're looping through the selection and the exporter is changing it. Try to convert the selection to a tuple before the loop and see how it goes.
Does it make any sense?
Code: Select all
for x in tuple(Application.Selection):
# export code
pass
Re: can't batch export fbx
That worked a charm.
Thank you very much for the quick help.
Kenny
Thank you very much for the quick help.
Kenny
Who is online
Users browsing this forum: No registered users and 45 guests