databpy
  • Home
  • API
  1. Objects
  2. create_object
  • Function reference
  • Attribute
    • named_attribute
    • store_named_attribute
    • remove_named_attribute
    • AttributeDomains
    • AttributeTypes
    • AttributeArray
  • Collections
    • create_collection
  • Objects
    • create_object
    • create_bob
    • evaluate_object
    • BlenderObject
    • LinkedObjectError

On this page

  • create_object
    • Returns
  1. Objects
  2. create_object

create_object

create_object(
    vertices=None,
    edges=None,
    faces=None,
    name='NewObject',
    collection=None,
)

Create a new Blender object and corresponding mesh.

Vertices are created for each row in the vertices array. If edges and / or faces are created then they are also initialized but default to None.

Returns

Name Type Description
Object The created object.