2025-06-20, 15:33:17
Home
Help
Search
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Chaos Corona Forum
Chaos Corona for 3ds Max
[Max] I need help!
Simple Script
Print
Pages: [
1
]
Author
Topic: Simple Script (Read 2069 times)
2016-12-21, 22:06:58
studio_vir
Primary Certified Instructor
Active Users
Posts: 15
Simple Script
Hi everybody!!
I'm trying to create a simple script that press the "+" button at Mtl Override area and include or exclude objets.
Anyone no what's the code of this button? If i create this script i will not need anymore to open the Render Setup dialog box to made this operation.
Thanks a lot!!
Alessandro Giraldi
www.studiovir.com.br
Logged
2016-12-22, 03:16:08
Reply #1
Christa Noel
Active Users
Posts: 911
God bless us everyone
Re: Simple Script
hi agiraldi,
no direct code for that but you can just simply use appendifunique to renderers.current.overrideMtl_exclude
example:
Code:
[Select]
arr=selection as array
for i in arr do (appendifunique renderers.current.overrideMtl_exclude i)
Logged
www.dionchstudio.com
2016-12-22, 23:10:43
Reply #2
studio_vir
Primary Certified Instructor
Active Users
Posts: 15
Re: Simple Script
Thanks Christa,
I will try this code!!
Logged
Print
Pages: [
1
]
Chaos Corona Forum
Chaos Corona for 3ds Max
[Max] I need help!
Simple Script