Is it possible to download a designated tex in Asset Browser then add it into a node mat?
Can I do this in S26.1(windows) with python?
Thanks(Hope I understand Form Rules this time,QAQ)
Thank you for reaching out to us. And no worries, everything is fine with your posting. Thank you for making the effort to adhere to our forum rules, much appreciated!
The general answer is, yes, this is possible. There are however a few ambiguous points in your posting.
For the S26.1 C++ docs, we recently added a small manual for Redshift wich goes through exactly that case, creating a Redshift standard node material, and linking texture assets to the channels of the material. Although it is for C++ I would recommend having a look, as the Python code will be almost identical.
There is also a plethora of other things I would recommend having a look at, such as the Python Asset API examples and the Python Nodes API examples, as your goals are only a specialization of the things shown there.
If you have questions along the way, please do not hesitate to ask. The Nodes and Asset API are two fairly complex subjects, and their documentation on Python is still in its infancy. I will provide the necessary guidance or examples where necessary.
Thanks for your [email protected]
I use a github reference document download one year ago(It is some network problem that some time I cannot visit internet.) I will check the new Node and Asset python example first.
Unfortunatlly ,I have no experence with C++().But I will try to read it anyway.
great, as I said, we are aware that there are currently gaps in the Python documentation. Just try to start out, and then post what you got when you hit a wall. I will help you then, i.e., write a specific Python example, if necessary, and show you how to accomplish things in Python.
The basic information is there in the Asset API and Nodes API examples for Python I have posted above. The Redshift API is just a special case for that, and it is not fully documented yet (even in C++) because the underlying integration of Redshift into Cinema 4D has not been fully finalized yet. I have pushed the C++ Manual out because I knew users will be asking for it, but this C++ Manual is also only a temporary solution. For now, we will solve Redshift API questions with direct customer support in Python.