Rhino script troubleshooting


I’m having some trouble with the MoveProjectEach script found here Buildings on topography

I’m trying to move trees and buildings down to the topography. After trying to run the script I’m receiving the following error

Source: RhinoScript
Error: Type mismatch in parameter. String required.
Line: 150
Char: 1

It’s my first time using rhino and using rhinoscript! Thank you for all of your help :slight_smile:!

error|474x277 !


Hi Valedejongh
This code I can run normally,Can you upload your model and code?If you will use grasshopper,You can also use the Bubalus_Gh plugin.Plugin download link:https://www.food4rhino.com/app/bubalusgh

Thanks Naruto! Turns out there was a block definition hidden within the depths of my model that was causing the script to fail.

Thanks again!