Realistic timeline for 3d artist to learn c++?

I would expect a non-programmer to take at least two to three years to reach a basic level of competency required to program games, assuming they are learning consistently part time. The absolute basics can be picked up through practice with a few weeks and some repetition, but dealing with large code bases and much more complex programming techniques is something that really takes some learning.