assign_surface_material#

Icepak.assign_surface_material(obj, mat)[source]#

Assign a surface material to one or more objects.

Parameters:
objstr, list

One or more objects to assign surface materials to.

matstr

Material to assign. The material must be present in the database.

Returns:
bool

True when successful, False when failed.

References

>>> oEditor.ChangeProperty