Replacement for node "BlockReferenceExtensions.GetGeometry" in 2026

Hello,

I have a script that works perfect for Civil 3D 2023.

In the script I use the node “BlockReferenceExtensions.GetGeometry”.

This node get the objects of a blockreference (instances).

In 2026 this node is no longer working.

I can not find a replacement for it…

There is a node “Block.Objects”, but this node get the objects of the blockdefinition (on location 0,0,0).

This node is no option because I have dynamic blocks. The width of the (dynamic) blockreference is different then de blockdefinition.

Does anyone know a solution?

Gr. Raf