I am trying to make a cvar of the type std::vector<point_t> accessible from python. I understand and have done this by using 'extern'.

I have also typemap'd the std::vector<point_t> and am able to work with it using several functions.

When I try to set the variable from a python script I get:

TypeError: in variable 'MyVari' of type 'std::vector<point_t >'

It is already typemap'd it though... seems to only be an issue when I use Module.cvar.MyVari .

Any suggestions?

Thanks,

Bob