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 02-13-2013, 04:14 AM   #1
duke
Lord of the posts
George Rolfe
Newport, AU
 
Join Date: Mar 2002
Posts: 872
include - reload/refresh?

It seems in my macroscript, I can't reload the included script (shared.ms) without restarting Max, which makes development slow to say the least! Is there a way around this?

Code:
macroScript ExportToGame category:"GeorgeR" ( include "...\scripts\Shared.ms" on execute do ( if $ == undefined then print "Nothing Selected!" else ( for s in $ do ( local o = gameExportOptions obj:s print o.name --(gameExportOptions obj:s).export() ) ) ) )
 
Old 02-13-2013, 07:38 AM   #2
Swordslayer
isKindOf Artist
 
Swordslayer's Avatar
portfolio
Vojtech Cada
3D generalist
Czech Republic
 
Join Date: Jun 2006
Posts: 358
Send a message via ICQ to Swordslayer
It should work when you reevaluate this macroscript definition after changing the script file.
__________________
Blog :: LinkedIn profile
 
Old 02-13-2013, 07:38 AM   #3
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
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 06:38 AM.


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