So what I want to do in Lua is find the ctype of an element in terms of x and y.
I'm trying to use tpt.get_property("ctype",x,y), but that does not work, and sim.partProperty does not work because it uses certain individual parts. Is there a workaround to this, for example finding individual part numbers with x and y of that part?
It is working for the rest of it, but just getting the ctype like in my previous post is invalid or something. I will use the partID method though.