Skip to content

pyux.select_material

fabian-flassig edited this page May 18, 2020 · 1 revision

Opens the material selector and returns a handle to a material.

pyux.select_material([old_material]) 
Parameter Type Description
old_material material_handle Optional: handle to a material

Return value

Type Description
material_handle The new material handle

By passing old_material to the function, the material picker will open the material file of old_material as the search location.

See also:

pyux, element handles, set_element_material

Clone this wiki locally