Itoo Software Forum

Author Topic: MAX script and forest  (Read 3314 times)


  • Jr. Member
  • **
  • Posts: 67
MAX script and forest
« on: March 20, 2013, 08:38:15 AM »

What is the proper way (if at all possible) to initialize a Tree-Mode Forest Pack 4 object from Maxscript? Based on our own scripts, that were working for previous versions of FP, we’ve made an attempt at an adapted version for FP4. Basically this:

tmp_ground=plane pos:[0,0,0]
FP4_obj=forest_pro mode:1

The surface part was added some time ago, as it appeared to remedy a similar problem in past versions, but this time around it doesn’t seem to do anything.

Attempting to add trees to the object created in this manner results in a ** system exception ** message if using FP4_obj.trees.create, or a complete MAX shutdown if using the Edit Mode\Add through the regular user interface.


  • Administrator
  • Hero Member
  • *****
  • Posts: 4487
    • iToo Software
Re: MAX script and forest
« Reply #1 on: March 20, 2013, 09:56:11 AM »

The surfaces are now stored in "surflist", that is an array type. Unfortunately it is not possible to initialize this parameter from Maxscript.

Anyway, it should work just removing the surface line, and assigning the surface manually later. Did you ty it ?

Carlos Quintero
iToo Software