"Explode" Objects failing with block instances

I have a collection of block instances. I am trying to access the geometry within each block. After I query the blocks from their layer and try to explode, approximately 75% of the blocks fail to explode.

The explode error is telling me
“1. Solution exception:Object reference not set to an instance of an object.”

A few details I would not expect to cause an error but in case I’m missing something…
-I have multiple blocks placed in multiple locations
-The blocks are coming from an imported Autocad dwg. import
-Is there some geometry or data type within the blocks that might be causing it to fail? I am seeing no other indication of what is wrong outside of the exception error.

Any help or some things to look for would be appreciated

Hi Dave,

I’m guessing there is a data type issue. Can you post a few of the blocks that are failing?

If there are privacy concerns you can upload here.

Thanks. I have uploaded the DWG to the link you sent me.

It looks like when I try to assign the blocks that are not exploding in the mass selection will explode when assigned separately so I assume its a bug in the “Explode Object” node and not the blocks themselves. I am wondering if it is failing when there are multiple instances of the same block in different locations? I am trying to confirm that on my end

Either way I appreciate it getting looked at.

Thanks Dave,

Please run SystemInfo in the Rhino command line and post the results. I’m not seeing the issue here in the latest build. I’ll send a link if you want to try it.

Rhino 8 SR11 2024-9-10 (Rhino 8, 8.11.24254.15001, Git hash:master @ d3c11108eae09fadc146928ba51b9b182a05303f)
License type: Commercial, build 2024-09-10
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.5

Computer platform: LAPTOP - Plugged in [100% battery remaining]

Hybrid graphics configuration.
Primary display: Intel(R) Iris(R) Xe Graphics (Intel) Memory: 1GB, Driver date: 7-11-2023 (M-D-Y).
> Integrated graphics device with 4 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port
- Secondary monitor attached to adapter port #1
- Windows Main Display attached to adapter port #2
Primary OpenGL: NVIDIA RTX A1000 Laptop GPU (NVidia) Memory: 4GB, Driver date: 6-2-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 532.09
> Integrated accelerated graphics device (shares primary device ports)
- Video pass-through to primary display device

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 6-2-2023
Driver Version: 31.0.15.3209
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 4 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.11.24254.15001
C:\Program Files\Rhino 8\Plug-ins\WebBrowser.rhp “WebBrowser”
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoScript.rhp “RhinoScript”
C:\Program Files\Rhino 8\Plug-ins\IdleProcessor.rhp “IdleProcessor”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.11.24254.15001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.11.24254.15001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.11.24254.15001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.11.24254.15001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.11.24254.15001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.11.24254.15001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.11.24254.15001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

Thanks, systeminfo look ok, video driver could use and update.

Ran the update and it appears to have worked. Thanks again

1 Like