File Handling, and Working with Directories

Chapter 7

Typically, 3ds Max is not used in isolation,but instead as part of a production pipelineinvolving various other programs. It isimportant to be able to get data out and in,as well as get scenes out and in. Thischapter will teach you how to accomplishthese tasks.

Objectives

After completing this chapter, you should be able to

  • Read and write text files.
  • Read and write binary files.
  • Import and export files.
  • Work with the FBX file format.
  • Construct and access pathnames for directories.
  • Work with the new Project Folders feature.

Introduction

File handling and working with directories is central to many scripting requirements. MAXScript can read and write text files (ASCII) as well as binary ...

Get 3ds Max MAXScript Essentials, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.