Itoo Software Forum

Author Topic: Multiple surface deletes  (Read 299 times)

EH2026

  • Newbie
  • *
  • Posts: 34
Multiple surface deletes
« on: February 15, 2024, 03:48:33 PM »
Hi guys,

How do you quickly delete multiple surfaces under the surfaces rollout, image attached.

So let's say you have over 100 surfaces which you are using to distribute a scatter on, how do you delete them quickly? It seems like you have to manually select one at a time?

Thanks,

Jason

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2486
Re: Multiple surface deletes
« Reply #1 on: February 16, 2024, 08:50:02 AM »
Hi Jason,

Currently, the UI does not support removing multiple surfaces at the same time. However, you can use the "fp_surface_deleter" script (please see the attached file) to remove any "unused surfaces" from the Forest object. This script checks for unused surfaces and provides an array of assigned surfaces accessible through the .surflist property from maxscript. If necessary, you can clear it by assigning an empty array in the following manner:

$.surflist = #();

I hope this information is helpful.

Best regards,