On 22/02/2013 at 14:12, xxxxxxxx wrote:
Ultimately, I'm trying to draw a line in the GUI with many points. What I really need looks to be the "LineStrip" functions from C++ but luck would have it, doesn't appear it's supported in Python.
SO, I'm trying to use bd.DrawPoints to at least see somewhat of what a path looks like with dots. It asks for an iteratable object with vectors. I gave it a Python list of my points. It gives the error "Invalid Object Length". I'm not sure what makes my list invalid. I checked it and it's a full list of vector points. Certainly not null/None.
I noticed in the C++ version it expects a count before the array of points. I tried giving the function a manual count and it still error'd. What am I doing wrong? As usual the cryptic one sentence description on most functions barely helps.