element_get_type

Return the type of a database element.

References:

arguments

return value

String

The type of the database element. Possible return values include: Attribute_container, Bsdf_measurement, Camera, Compound_shader_class, Freeform_surface, Group, Image, Instance, Light, Lightprofile, Material, Compiled_material, Function_call, Function_definition, Material_definition, Material_instance, Module, On_demand_mesh, Options, Polygon_mesh, Select_instance, Shader, Shader_class, Shader_graph, Shader_graph_class, Subdivision_surface, Texture, Triangle_mesh, Projector, Section_object, Decal, Irradiance_probes

groups