Return to Snippet

Revision: 58473
at July 17, 2012 04:35 by barigazy


Initial Code
fn IntersectsSel =
(
	problemObjs = #()
	safeNodes = selection as array
	testers = for i in objects where (findItem safeNodes i) == 0 collect i
 
	for obj in safeNodes do --//test each object in the selection
	(
		for p in testers where intersects obj p do appendIfUnique problemObjs p --//test the intersection to the scene objects
	)
	select problemObjs
)
IntersectsSel()

Initial URL

                                

Initial Description
select all object that intersect each other

Initial Title
SELECT INTERSEPTIONS OBJECTS

Initial Tags

                                

Initial Language
Maxscript