1. Solution exception: Object reference not set to an instance of an object

I’m aiming to use this simple definition to populate the surface of a sphere with circles. I’m sure there are a lot of approaches but I’m curious why this approach hits an error.

It works to some degree until I connect the bounding boxes to the Facet component. Then the fairly generic error:

  1. Solution exception: Object reference not set to an instance of an object.

Circles on a sphere.gh (8.9 KB)

it basically mean your input has cause the code in the backend to run into a situation the dev didn’t account for, so the component doesn’t know how to deal with it.

I believe the bounds input is asking for a single box that contains all the points, it’s used to trim off excess results in special situations.

1 Like

Reopening this post:

I am getting the same error when trying to input all meshes from a file into a component that separates by layers.

So here I have shown two cases. One where the Referenced Meshes are input into the same component LB SortbyLayers. It takes in successfully and spits out the objects sorted into brnaches by layers.

But in the Second case where the initial Block instances are referenced, and then exploded to give out meshes, the same LB SortbyLayers compoenent gives out the error: Solution exception:Object reference not set to an instance of an object.

What’s happening?

A small observation here is that the meshes inside the first container show as referenced ones while those in case two simply are Meshes. Is that the reason and if so what’s the solution ?

Hi @Akshay_Korlekar,

In Rhino 8 we have ‘Group Content’ to do this.

Or ‘Order Content’ if you just need to get them in order.

1 Like

Let me try this out. Thanks.