Explode Block error

Hello!
When trying to use the Human component ‘BlockExplode’ to do just that on a very simple block, I get the error message “Solution exception:Object reference not set to an instance of an object.”.
The block contains just a brep box for testing, nothing else.
What am I doing wrong?
Thanks a lot!

This component expects a reference to a Rhino Block Instance, not a normal piece of geometry. You can get references to blocks with the Dynamic Pipeline, for example. There are no native Blocks in grasshopper so you have to refer to one in the rhino document.

Thank you, Andrew!
Still, questions:

  • What is the difference between a Rhino Block Instance, and a ‘normal piece of geometry’, in my case a… block?
  • What is the ‘Dyamic Pipeline’?
  • How do I refer to a block in the Rhino document?

Do I need to dig into coding here in order to get this to work?
Thanks again!

Hi -

When you select the object in the Rhino viewport, does the command line read the following?

1 block instance added to selection.

If not, your object isn’t a block and you should probably read this page of the help file.

That is a standard Grasshopper parameter on the Parameters > Geometry tab:

If I understood that right, Andrew says you can do that with that pipeline parameter, but I’m not so sure.
-wim

Hello!
Thanks again!
Yes, it’s definitely a block. Run the ‘Block’ command on a simple brep box.
I get it what Andrew meant: simply that a block must exist in the Rhino scene and loaded into GH with a geometry parameter.

Two geom params deal with blocks: BlockInst and BlockDef. Tried both without luck.

image

What to do with the Pipeline component, I could not figure.

BlockInst and BlockDef must be from another plug-in — those aren’t compatible with Human. And when I say Dynamic Pipeline I don’t mean the native Geometry Pipeline that ships with Grasshopper, I mean the Dynamic Geometry Pipeline that comes with Human — it can support a lot more geometry types.

1 Like

Try Elefront or InstanceManager.

I find that this component just does not work with nested blocks : with the attached files, only two random instances make it to the component’s output :

P20_MOD_Modele test 01.3dm (334.4 KB)
Explode Blocks not working.gh (6.6 KB)

If you input only the blocks without sub-blocks, it will work fine.