Select AutoCAD block reference by object handle

I currently have a routine which updates block attributes from an excel spreadsheet. Works perfectly fine however, I would like to refine this slightly by using each blocks unique object handle to select the block in the dwg and subsequently use my routine to update attributes.

Is there anyway to select blocks using there object handle via python/custom nodes etc ?

Any help with this would be greatly appreciated !

Civil 3D Toolkit


1 Like

Thanks for your reply Paolo - I had actually tried to use that node originally as I couldn’t seem to get around the error below. I’m essentially trying to update each attribute from a list of attributes and selecting the blocks using a list of handles. Hopefully the image makes more sense !


@elliotgr2010 the input type is BlockReference and not Object.
Download the latest version

1 Like

Thanks Paolo - Works like a charm !