create_element
Creates a database element and stores it in the database. Note that this command cannot create elements of type "Material_instance" or "Function_call". Use "create_material_instance_from_definition" and "create_function_call_from_definition" instead.
arguments
- "element_name" : String
The name of the database element to create.
- "element_type" : String
The type of the database element to create.
Possible Values:
- Attribute_container
- Bsdf_measurement
- Camera
- Decal
- Freeform_surface
- Group
- Image
- Instance
- Irradiance_probes
- Light
- Lightprofile
- Material
- Options
- Polygon_mesh
- Projector
- Section_object
- Subdivision_surface
- Texture
- Triangle_mesh
References:
- "privacy_level" : Uint8 (default: null)
The privacy level to create the element at. [0...255]. If not provided uses the current scopes privacy level.