I went ahead and put something together for you without seeing the video. This script will create a TIN surface from the contours, and then it will insert the test_block at the corners of the panel block references. I also put in an option to scale the test_block if you want (it looked really big).
A couple notes:
You’ll need to first create an empty TIN surface in the drawing before running the script (Dynamo needs a surface to add the breaklines to). The input name is set to “Surface - (1)”, but you can name it whatever you want and just change the input string.
You’ll need to change the file path input node for the block insertion so that it points to the testBlockRef.dwg file on your system.
I edited the test_block so that the insertion point was at the lower left corner of the rectangle. This made it easier to insert.
I’ve annotated everything pretty heavily so that you know what is going on, but let me know if you have questions.
This isn’t intended to be the final solution for you, put hopefully it gives you a starting point.
mytestscript_mzjensen.dyn (467.4 KB)