3ds Max 2012 createFile error

If I create a maxscript file with maxscript like this

  • f = createFile "C:\a.ms"
  • close f

and if I drag and drop the file "a.ms" into max, max will crash.This doesn't happen in max 2011

Also I can't delete the file until I close max 2012 because it says that it is open in 3ds max.

can somebody explain why this is happening in 2012 and how to fix it

thanks.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miauu's picture

I also found that maxscript

I also found that maxscript can't create file in c:\, but it can create files in c:\folder_name\. Don't know why.

Syphorlate's picture

I use dot net streamwriter

I use dot net streamwriter and streamreader to circumvent this problem. It seems in every max version there's a different bug going on with the openfile/createfile functions.

Graph's picture

did you try flushing? works

did you try flushing? works for toilets ;)

Raphael Steves

Amneloris's picture

Le bug est corrigé avec

Le bug est corrigé avec l'install du premier hotfix de max 2012 :
http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=1703236...

Admin's picture

Seems like a similar bug

Seems like a similar bug posted on The Area. http://area.autodesk.com/forum/autodesk-3ds-max/autodesk-3ds-max--3ds-ma...

Christopher Grant
Admin, ScriptSpot.com

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.