Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography

Featured Threads
  Member galleries are online
(36 replies)
  So what are you working on? =)
(1268 replies)
  Want free webspace?
(13 replies)
  spam alert!!!
(2149 replies)
  Maxforums member photo gallery index
(90 replies)
  Maxforums Member Tutorials
(71 replies)
  three cheers to maxforums...
(176 replies)
  The Grotorial Index Page
(57 replies)
  101 Things you didnt know in Max...
(152 replies)
  A Face tutorial from MDB101 :D
(95 replies)
  Free textures thread
(65 replies)
  Maxforums.org Members Gallery
(473 replies)
  SON OF POST YOURSELF
(539 replies)
  Dub's Maxscript Tutorial Index
(113 replies)
  The Best Art of Maxforums [56k warning]
(100 replies)


 
First page  Go to the previous page   [01]  [02]  [03]  [04]  [05]  [06]  [07]  [08]  Go to the next page  Last page
 
Dub's Maxscript Tutorial Index
show user profile  Garp
Try this:
for s in $Sphere* do
(
unhide s
render vfb:false outputFile:("E:/Practice/MaxScript/render_" + s.name + ".jpg")
hide s
)


In your script you specify the frame to render but you're not rendering an animation. Hence the files are not automatically numbered.
I used the sphere's name to get a unique name.


"Basically, a computer is a very fast moron. It does exactly
what you tell it to do. And that can be most humbling."

Bjarne Stroustrup

read 1743 times
11/9/2009 9:09:02 AM (last edit: 11/9/2009 9:17:20 AM)
show user profile  vishesh
hey Garp, your script worked perfectly fine. very nice !!!
Thanks for your help.

MaxScripting is so much fun. though if one gets stuck, it becomes irritated :)

"Passion is the flame that burns forever."
read 1721 times
11/9/2009 10:28:12 AM (last edit: 11/9/2009 10:28:12 AM)
show user profile  Garp
You're welcome.

"MaxScripting is so much fun. though if one gets stuck, it becomes irritated :) "

Agreed.
When Dub releases his tutorial about using the reference, that'll get a lot of people started.


"Basically, a computer is a very fast moron. It does exactly
what you tell it to do. And that can be most humbling."

Bjarne Stroustrup

read 1711 times
11/9/2009 10:38:15 AM (last edit: 11/9/2009 10:38:15 AM)
show user profile  advance-software
>though if one gets stuck, it becomes irritating

That's programming in general. Writing code isn't so hard. Figuring out why it doesn't do what you want it to can be much harder. When you get stuck, use a process of elimination to isolate the problem to its root cause.

read 1704 times
11/9/2009 10:51:38 AM (last edit: 11/9/2009 11:14:33 AM)
show user profile  vishesh
Yep Garp .... i am eagerly waiting for that tutorial. I too didn't get much of MaxScript reference stuff.

Advance..... yeah thats true.
i use commands like Print , messageBox for debugging.... these helps a lot.

"Passion is the flame that burns forever."
read 1659 times
11/10/2009 7:41:24 AM (last edit: 11/10/2009 7:41:24 AM)
 
First page  Go to the previous page   [01]  [02]  [03]  [04]  [05]  [06]  [07]  [08]  Go to the next page  Last page
 
#Maxforums IRC
Open chat window


Support Maxforums.org