I want to create blocks from the lines in each layer and give the new blocks the last 5 digits from the original layer name.
so lines in layer 12345xxxx1 will be a single block with a name xxxx1 and the block placed on original layer 12345xxxx1
I got the block created and placed in the correct layer but couldn't figure out how to name it.
output blocks