Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I'm completely lost on this seemingly simple task.
I need to access the existing Octane's mix_material_001 and change the amount_value from 0 to 1 in Pymxs.
I know how to create the box, create the material and assigned it.
from pymxs import runtime as rt
t = rt.box()
m = rt.Mix_material()
t.material=m
m.amount_value = rt.float(1)
But how to directly access the already created "mix_material_001" without creating one?
m = rt.getClassInstances("mix_material_001") is not working.
Is there some lean code to directly access the scene material?
Solved! Go to Solution.