I have a model that will spawn numerous Person flow items. I need to be able to detect when they get within a certain distance from each other. For this, I want to add a collision sphere to them upon their creation. I assign the Person to token.Person and have tried the following code, but drawspheres() is throwing all kinds of exceptions at me, and not sure what else to try, as I feel like I've followed the documentation. I've also tried just adding a sphere to a generic shape in the scene just for testing, but no luck there either.
Object person = token.Person; Object view = views().find("active>Documents/Perspective/1+/~"); // Have also tried: Object view = sv(); after designating the 3D view addsphere(person, 0.0, 0.0, 0.0, 6); drawspheres(person, view);