Itoo Software Forum

Author Topic: Scripts for Forest Pack  (Read 36972 times)

zules

  • Newbie
  • *
  • Posts: 40
Re: Scripts for Forest Pack
« Reply #45 on: March 14, 2020, 10:22:02 PM »
Hello,
does somebody know a tips/script to select all the geometry object of a FP object easily ?
It will be useful to create masks in Corona from selection for exemple.

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2291
    • iToo
Re: Scripts for Forest Pack
« Reply #46 on: March 16, 2020, 10:02:11 AM »
Fixed some issues with FP_Toolbox script(thanks RealViz), also added selection->Dependencies. Hopefully that is what zules was asking for.
Rokas
iToo Software

zules

  • Newbie
  • *
  • Posts: 40
Re: Scripts for Forest Pack
« Reply #47 on: March 16, 2020, 07:04:47 PM »
Thanks I will have a look !

RealViz

  • Jr. Member
  • **
  • Posts: 79
Re: Scripts for Forest Pack
« Reply #48 on: March 17, 2020, 02:34:53 PM »
Thanks Rokas! Works well like Corona virus :-D

TheMan

  • Newbie
  • *
  • Posts: 6
Re: Scripts for Forest Pack
« Reply #49 on: April 02, 2020, 05:47:09 PM »
Hello Forest people,

I wrote one script for myself to Select multiple Forest Objects along with their dependencies.

Select Dependent objects.
(I didn't know that this thread exist and Rokas already wrote a script for it. )

I invite you guys to try mine anyway, it'll only work for Forest Pack, but I promise that mine is FASTER.
(Edit: I found out later that my script will only work faster if your 3ds max tab selection on the right is set to Modify tab. Other than that, they'll both with as fast as each other.
Edit2: I believe Rokas already updated his script, so all the speed issue is gone. Now both our script is as fast as each other, but his will also support Railclone. So, go for his! haha.)




**Note
- The one called DragNDrop is to drag it in the viewport to execute the script.
- The one called Macro is to install the script. Customize > The Man Script > ForestPackDependencies.
- Both scripts do the same thing.
« Last Edit: April 04, 2020, 10:21:09 PM by TheMan »

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2291
    • iToo
Re: Scripts for Forest Pack
« Reply #50 on: April 02, 2020, 07:06:37 PM »
Hi The Man

Your script prorduces an error:


Maybe You forgot to declare "TM_ForestObjectSel" array ?

With that line added script does not error, but it fails to select all dependencies, and what is more drops other items that were in the initial selection.
Rokas
iToo Software

TheMan

  • Newbie
  • *
  • Posts: 6
Re: Scripts for Forest Pack
« Reply #51 on: April 02, 2020, 08:38:44 PM »
Hi The Man
Your script prorduces an error:
Maybe You forgot to declare "TM_ForestObjectSel" array ?
With that line added script does not error, but it fails to select all dependencies, and what is more drops other items that were in the initial selection.

Oops! that for loop is not needed anymore and the selection drop is gone. All fixed! Thank you Rokas.  ;D