Skip to content

Commit 409b149

Browse files
author
rdeioris
authored
Update Material_API.md
1 parent 895973c commit 409b149

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/Material_API.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,12 @@ To modify a material's property you need to know its name.
7272

7373
You cannot access the property list from a material instance, you need to get it from the parent:
7474

75+
```py
76+
parent_material = material_instance.Parent
77+
```
78+
7579

80+
Once you have the property name you can get/set parameters values
7681

7782
```py
7883
# retuns a float

0 commit comments

Comments
 (0)