ScriptSpot

Forum topic · General Scripting

Access to Material inputs

By OrsHerrero · 2015-10-29

Description

First of all, sorry if this post isn't in the right place.

I'm working in a material converter from Autodesk Materials to Standards, and my problem is that Autodesk submaterials (Ceramic, Generic, etc) have different inputs for bitmaps, for example Ceramic_Color_Map, or Generic_Image, instead of a diffuse parameter.

So, my question is could I call the first input of each material, instead of a specific name?

Thanks for help