OTHER SITES

escaMoney
You are here: HOME arrow TUTORIALS arrow 3dsmax Tutorials arrow Really Beginner Maxscript Tutorial Part 1

Really Beginner Maxscript Tutorial Part 1 PDF Print E-mail
User Rating: / 4
PoorBest 

by Didik Wijaya

Really Beginner Maxscript TutorialIn this tutorial, I will introduce you to Maxscript, programming language in 3ds max. This is a really basic Maxscript tutorial, for those who have always wanted to learn maxscript but haven't been able to get started. Don't worry, it's not that scary. Just as simple as writing English. Here you will learn how Maxscript can be used to help you with everyday work.

 

1. Open 3ds Max. Press F11 to open Maxscript Listener window. It's like Notepad. The white area is where you can type the command. You can delete the welcome message if you want.

Image

 

2. Create a teapot in viewport. Next, we will modify this object. To modify object in scene, you can refer to its name or by selection. We will try to refer to the name first. Maxscript refers to object by adding a "$" in front of its name. In this case, type:

$Teapot01

Press Enter. This will execute the current line. The result is:

$Teapot:Teapot01 @ [1.176471,0.392157,0.000000]

The numbers inside the bracket show object location (X, Y, Z). The values may vary based on your object location.

 

3. Let's try to find out teapot attributes. Type:

$Teapot01.radius

Maxscript will return the radius of teapot. Let's try another

$Teapot01.segments

This line returns the amount of segments in teapot. You can always refer to object attribute by using this command:
$Object name (dot) attribute

4. Now, you will try to modify object attribute. This will be fun. Type:

$Teapot01.segments=2

Teapot now has fewer segments. All object attributes can be controlled from Maxscript Listener window. Now, try to change radius value by yourself.

5. Let's try to remove teapot handle.Type:

$Teapot01.handle=false

Teapot handle is gone. To make it back, Type:

$Teapot01.handle=true

 

6. Experiment yourself with other objects and attributes. If you don't know what attributes are available in one object, select object in viewport and type:

showproperties $

For teapot, this command will return:

.smooth : boolean
.radius : float
.segs : integer
.mapcoords : boolean
.body : boolean
.handle : boolean
.spout : boolean
.lid : boolean
.realWorldMapSize : boolean
false

In the next tutorial, you will learn how to refer object using selection. And this is more fun.

 

Really Beginner Maxscript Tutorial Part 1 | Part 2 | Part 3

Any question or comments regarding this tutorial should be sent to:
Didik Wijaya, email: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it

Discuss this tutorial

Comments
Search
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 
< Prev   Next >
Random Free 3D Models
FileStreet Lamp 01
Simple street lamp. Used in your outdoor architectural scene. Low poly 3D model
FileFrame And Painting
Simple frame with painting. Decor your 3D house!
FileBed 04
Another version of simple bed. With four legs
FileDice
3D dice model. Used in traditional board game
FileCeiling Fan
Ceiling Fan. Simple design

Go to our free stuff section. You can find more free 3D models, vector art, clip art

 

Translate

EnglishFrenchGermanItalianPortugueseRussianSpanish

Login Form






Lost Password?
No account yet? Register

Your Shopping Cart

Your Cart is currently empty.

Recommended Ebook

 

Popular Download in Last 30 Days



FileSimple Bedroom
354

FileHardcover book - opened
297

FileCartoon Landscape
290