MAXScript Header Files (SDK)

3DS Max Plug-In SDK

MAXScript Header Files (SDK)

There are many header files supplied with the MAXScript SDK in the directory 'includes'. The following list shows the main ones you might use:

Maxscrpt.h The main MAXScript header. It includes most of the core headers required for the MAXScript API and 'Max.h', needed for any MAX SDK code.

defextfn.h Scripter-callable function definition macros. See the section definsfn.h in the Scripter-callable functions topic for details.

MAXObj.h The prime MAXWrapper header, used if you are constructing or accessing any of the main MAXScript values that represent MAX objects within MAXScript. See the Working with MAX Objects in the SDK topic for more details on this and the rest of the header files in this group.

MAXKeys.h MAXScript classes for wrapping MAX controller keys.

MAXMats.h MAXScript classes for wrapping MAX materials and texture maps.

BitMaps.h MAXScript class for wrapping MAX bitmaps.

Maxclses.h Defines all the static MAXClass and MAXSuperclass instances which provide MAXScript-specific metadata for the most of the core MAX classes.

The following headers define most of the foundation classes in MAXScript. Many of them are basically wrappers for primitive C++ types or MAX SDK classes, such as Point2, TimeValue, etc. You would include these headers if you need to create or access any instances of these classes.

3DMath.h All the MAXScript linear algebra classes

Arrays.h The Array class.

ColorVal.h MAXScript color class.

Funcs.h Scripter functions.

HashTab.h MAXScript's internal hashtable class.

MSTime.h Time classes.

Name.h MAXScript's Name class.

Numbers.h Float and Integer classes.

Parser.h The MAXScript compiler.

Streams.h Character stream I/O, notable FileStream.

Strings.h Character string class.