Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I want to assign different materials to a single text object via Python. This can be done manually by selecting the desired Material slot, typing away, choosing a different material slot and typing further. But how can I do this via Python?