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.
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
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.
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