Itoo Software Forum

Author Topic: Maxscript: Exception with .trees.create()  (Read 614 times)

George

  • Full Member
  • ***
  • Posts: 120
Maxscript: Exception with .trees.create()
« on: December 15, 2014, 02:03:59 AM »
I'm using FP 4.2.4 and 3dsMax 2014. If you make a new scene, add a teapot and select it, then paste and run this:

( local result = Forest_Pro(); result.cobjlist[1] = $; result.namelist[1] = $.name; result.mode = 1; result.trees.create [0,0,0] 1 1 1; )

What's the deal with the exception?

George

  • Full Member
  • ***
  • Posts: 120
Re: Maxscript: Exception with .trees.create()
« Reply #1 on: December 15, 2014, 02:16:57 AM »
Nevermind, had to call .trees.update() first.