Non-Pointer Error

I’m trying to filter out non-BlockRefs in a list but I keep getting a non-pointer error

Hi @Reed_Weinstock,

If your goal is to get all the block references in a block, I would recommend doing it this way. This will be a little more robust.

You have the wrong input - you’re not providing a boolean mask.

Forgot to put in string.contains

1 Like

is Block.GetBlockByName an OoTB node? I’m not seeing in C3D 2023

You can use the Document.BlockByName node in versions prior to Civil 3D 2025.1.

1 Like