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!
- 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?
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.
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.
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.
Try Elefront or InstanceManager.