CGTalk > Software > Autodesk 3ds max > 3dsMax SDK and MaxScript
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 03-27-2013, 03:10 PM   #1
Jens Hedrich
New Member
Jens Hedrich
CEO / Supervisor
3deutig
Aue, Germany
 
Join Date: Apr 2004
Posts: 13
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-27-2013, 03:10 PM   #2
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 11:50 PM.


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