3dsmax 2013 - readchars

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 03 March 2013   #1
3dsmax 2013 - readchars

hi together,

we using an setup for organizing our scripts from our server to the local machines and putting them on the menu bar..(edited aeron setup) so far all is working fine but we llike to switch to 2013/14 this year and the scirpt seems to have a problem with theese setup. we found that the error seems comming from this part of the script:

scriptFile = "test.ms"
scriptFile = openFile scriptFile mode:"rt"

macroToolTip = (readExpr scriptFile)
macroButtonText = (readExpr scriptFile)
seek scriptFile #eof
maxlen=filepos scriptFile
seek scriptFile 0
skipToString scriptFile "--start macro\n"
scriptContent = readChars scriptFile maxlen errorAtEOF:false
print scriptContent
close scriptFile

and over some print testings we found that in max 2013 there seems that the readchars command is not working correctly. in max2012 the print command shows the whole script we opened but in 2013 there is nothing inside.

have anyone an idea what is going on here?

thanks!

bye,
Jens
__________________

Jens Hedrich
CEO | 3deutig
animation | visual effects


jens@3deutig.com www.3deutig.com


 
Old 03 March 2013   #2
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:36 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.