I'm actually assuming that you cannot use standard c++ vectors to populate a polymesh node with data, I'm really new to the API, so probably I'm missing something.
If there's no way to do the conversion, what would be the best approach to fill the AiArray?
Solved! Go to Solution.
Solved by Jake41198. Go to Solution.
Nevermind, I've just found the way in the api reference on the AtArray page
Basically you use AiArray() to create small containers on the fly. For greater containers use AiArrayAllocate() or AiArrayConvert()