Chaos Corona Forum
Chaos Scatter => [Scatter] I need help! => Topic started by: harumscarum on 2025-05-13, 15:37:16
-
Is there any way in Chaos Scatter to remove object named "landuse_residential" from the Distribute-on list with the MaxScript command?
thanks
-
Hi,
There should definitely be way to do it through maxscript, but are you having issues deleted it with UI?
For maxscript, I believe you need to create a new array for distribute-on object nodes, which will be empty or just the specified object deleted/missing from it.
-
I think you can delete it directly from the array parameter if you know the index. Select the scatter object and try
i=for o in $.targetNodes where o.name=="landuse_residential" collect o
ix=finditem $.targetNodes i[1]
deleteitem $.targetNodes ix
deleteitem $.targetfactors ix
Good Luck