erikcarlson
March 23, 2021 16:08:03
Is there an existing Python function I can call to do the same thing as pressing the "Auto-fill Materials" button on the "Material Library" node without the popup dialog?
Or do I need to write this myself?
jsmack
March 23, 2021 16:20:57
Do you need to? I thought that was kind of an obsolete workflow. Using '*' kind of does the job.
erikcarlson
March 23, 2021 18:12:45
Oh, I didn't realize that was obsolete. That's how I was first shown how to do it. Now that I know I'll use the '*' way. Thanks jsmack.
rafal
March 24, 2021 11:26:01
Indeed, "Auto-fill Materials" was more useful in 18.0, and that's how you most likely have learnt it. In 18.5, the default values for parameters changed, and the globbing asteristk "*" already includes the material VOPs inside, thus authoring the corresponding USD materials.