SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.


SM Forums / Maya Questions / Programming / file import and file lock problem

Programming MEL Scripts, Expressions & Programming Related Topics

Join the conversation. Reply to post
 
Thread Tools
22-01-2008, 02:16 AM   #1
t1ck135
Registered User
 
t1ck135's Avatar
 
Join Date: May 2004
Location: UK
Posts: 1,991
file import and file lock problem
Here's an interesting one,
I've created a batch script in maya (python) that grabs the contents of a directory and for each file found (.3ds in this case) it imports the file, changes the rotation to the one used by maya, freezes the transformations and deletes the history, quadrangulates everything if it is triangulated and then saves it out to a maya file.

All goes fine and it does its job, its just that once completed all the .3ds files in the original folder are locked and cant be deleted without shutting down maya and restarting it. I'm on Windows XP if that helps.

I've had a look into file referencing and if for some reason this is affecting it but I dont think it is.

Cheers
Simon
__________________
Examples of bTraffic - a traffic animation tool for Maya
bFlocking - a tool for Maya 8.5+ to generate flocking and swarming behaviours
Jan/Feb Challenge 2007 Entry and W.I.P
May/Jun Challenge 2006 Entry and W.I.P
Mar/Apr Challenge 2006 Entry and W.I.P
Jan/Feb Challenge 2006 Entry and W.I.P
Nov/Dec Challenge 2005 Entry and W.I.P
Sep/Oct Challenge 2005 Entry and W.I.P
Jul/Aug Challenge 2005 Entry
www.flash-fx.net
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Reading File... HELP ME PLEASE roryfollansbee Challenge Forum 1 16-04-2016 09:00 AM
import an obj file and its mtl file? danielchappelle Maya Materials & Textures 2 05-03-2015 01:54 AM
how to use hypershade import to import a file zurrain Maya Technical Issues 0 10-04-2008 05:29 PM
Can't import Object file Shadyi Maya Basics & Newbie Lounge 2 24-10-2006 08:50 AM
import keyframes from another file? megura Maya Basics & Newbie Lounge 1 23-10-2006 04:42 PM