Re: [Maya-Python] read c++ MVectorArray by python

2019-04-10 Thread Justin Israel
On Thu, Apr 11, 2019, 7:14 AM wrote: > Le lundi 18 mars 2019 17:27:16 UTC-4, Justin Israel a écrit : > > MVectorArray in python is a SWIG object wrapping the C++ type. I am not > sure of a way to pass a pointer to the C++ MVectorArray and 'wrap' it in > Python. But that would be the lowest overhe

Re: [Maya-Python] read c++ MVectorArray by python

2019-04-10 Thread fruityfrank
Le lundi 18 mars 2019 17:27:16 UTC-4, Justin Israel a écrit : > MVectorArray in python is a SWIG object wrapping the C++ type. I am not sure > of a way to pass a pointer to the C++ MVectorArray and 'wrap' it in Python. > But that would be the lowest overhead if it were possible since you wouldn't

Re: [Maya-Python] read c++ MVectorArray by python

2019-03-18 Thread Justin Israel
MVectorArray in python is a SWIG object wrapping the C++ type. I am not sure of a way to pass a pointer to the C++ MVectorArray and 'wrap' it in Python. But that would be the lowest overhead if it were possible since you wouldn't need to copy. The hacky workaround is to serialize it to something li