user: Provide the full official documentation entry for Bpy.Ops.Object, preserving all code examples.

assistant:  NLA track mixing Parameters : process_data ( boolean , ( optional ) ) – Process data properties process_bones ( boolean , ( optional ) ) – Process bone properties File : startup/bl_operators/object.py:979 bpy.ops.object. bake ( * , type = 'COMBINED' , pass_filter = {} , filepath = '' , width = 512 , height = 512 , margin = 16 , margin_type = 'EXTEND' , use_selected_to_active = False , max_ray_distance = 0.0 , cage_extrusion = 0.0 , cage_object = '' , normal_space = 'TANGENT' , normal_r = 'POS_X' , normal_g = 'POS_Y' , normal_b = 'POS_Z' , target = 'IMAGE_TEXTURES' , save_mode = 'INTERNAL' , use_clear = False , use_cage = False , use_split_materials = False , use_automatic_name = False , uv_layer = '' ) ¶ Bake image textures of selected objects Parameters : type (enum in Bake Pass Type Items , (optional)) – Type, Type of pass to bake, some of them may not be supported by the current render engine pass_filter (enum set in Bake Pass Filter Type Items , (optional)) – Pass Filter, Filter to combined, diffuse, glossy, transmission and subsurface passes filepath ( string , ( optional , never None ) ) – File Path, Image filepath to use when saving externally width ( int in [ 1 , inf ] , ( optional ) ) – Width, Horizontal dimension of the baking map (external only) height ( int in [ 1 , inf ] , ( optional ) ) – Height, Vertical dimension of the baking map (external only) margin ( int in [ 0 , inf ] , ( optional ) ) – Margin, Extends the baked result as a post process filter margin_type (enum in Bake Margin Type Items , (optional)) – Margin Type, Which algorithm to use to generate the margin use_selected_to_active ( boolean , ( optional ) ) – Selected to Active, Bake shading on the surface of selected objects to the active object max_ray_distance ( float in [ 0 , inf ] , ( optional ) ) – Max Ray Distance, The maximum ray distance for matching points between the active and selected objects. If zero, there is no limit cage_extrusion ( float in [ 0 , inf ] , ( optional ) ) – Cage Extrusion, Inflate the active object by the specified distance for baking. This helps matching to points nearer to the outside of the selected object meshes cage_object ( string , ( optional , never None ) ) – Cage Object, Object to use as cage, instead of calculating the cage from the active object with cage extrusion normal_space (enum in Normal Space Items , (optional)) – Normal Space, Choose normal space for baking normal_r (enum in Normal Swizzle Items , (optional)) – R, Axis to bake in red channel normal_g (enum in Normal Swizzle Items , (optional)) – G, Axis to bake in green channel normal_b (enum in Normal Swizzle Items , (optional)) – B, Axis to bake in blue channel target (enum in Bake Target Items , (optional)) – Target, Where to output the baked map save_mode (enum in Bake Save Mode Items , (optional)) – Save Mode, Where to save baked image textures use_clear ( boolean , ( optional ) ) – Clear, Clear images before baking (only for internal saving) use_cage ( boolean , ( optional ) ) – Cage, Cast rays to active object from a cage use_split_materials ( boolean , ( optional ) ) – Split Materials, Split baked maps per material, using material name in output file (external only) use_automatic_name ( boolean , ( optional ) ) – Automatic Name, Automatically name the output file with the pass type uv_layer ( string , ( optional , never None ) ) – UV Layer, UV layer to override active bpy.ops.object. bake_image ( ) ¶ Bake image textures of selected objects bpy.ops.object. camera_add ( * , enter_editmode = False , align = 'WORLD' , location = (0.0, 0.0, 0.0) , rotation = (0.0, 0.0, 0.0) , scale = (0.0, 0.0, 0.0) ) ¶ Add a camera object to the scene Parameters : enter_editmode ( boolean , ( optional ) ) – Enter Edit Mode, Enter edit mode when adding this object align (enum in [ 'WORLD' , 'VIEW' , 'CURSOR' ], (optional)) – Align, The alignment of the new object WORLD World – Align the new object to the world. VIEW View – Align the new object to the view. CURSOR 3D Cursor – Use the 3D cursor orientation for the new object. location ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Location, Location for the newly added object rotation ( mathutils.Euler rotation of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object scale ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Scale, Scale for the newly added object bpy.ops.object. camera_custom_update ( ) ¶ Update custom camera with new parameters from the shader bpy.ops.object. clear_override_library ( ) ¶ Delete the selected local overrides and relink their usages to the linked data-blocks if possible, else reset them and mark them as non editable bpy.ops.object. collection_add ( ) ¶ Add an object to a new collection bpy.ops.object. collection_external_asset_drop ( * , session_uid = 0 , align = 'WORLD' , location = (0.0, 0.0, 0.0) , rotation = (0.0, 0.0, 0.0) , scale = (0.0, 0.0, 0.0) , use_instance = True , drop_x = 0 , drop_y = 0 , collection = '' ) ¶ Add the dragged collection to the scene Parameters : session_uid ( int in [ -inf , inf ] , ( optional ) ) – Session UID, Session UID of the data-block to use by the operator align (enum in [ 'WORLD' , 'VIEW' , 'CURSOR' ], (optional)) – Align, The alignment of the new object WORLD World – Align the new object to the world. VIEW View – Align the new object to the view. CURSOR 3D Cursor – Use the 3D cursor orientation for the new object. location ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Location, Location for the newly added object rotation ( mathutils.Euler rotation of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object scale ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Scale, Scale for the newly added object use_instance ( boolean , ( optional ) ) – Instance, Add the dropped collection as collection instance drop_x ( int in [ -inf , inf ] , ( optional ) ) – Drop X, X-coordinate (screen space) to place the new object under drop_y ( int in [ -inf , inf ] , ( optional ) ) – Drop Y, Y-coordinate (screen space) to place the new object under collection ( enum in [ ] , ( optional ) ) – Collection bpy.ops.object. collection_instance_add ( * , name = 'Collection' , collection = '' , align = 'WORLD' , location = (0.0, 0.0, 0.0) , rotation = (0.0, 0.0, 0.0) , scale = (0.0, 0.0, 0.0) , session_uid = 0 , drop_x = 0 , drop_y = 0 ) ¶ Add a collection instance Parameters : name ( string , ( optional , never None ) ) – Name, Collection name to add collection ( enum in [ ] , ( optional ) ) – Collection align (enum in [ 'WORLD' , 'VIEW' , 'CURSOR' ], (optional)) – Align, The alignment of the new object WORLD World – Align the new object to the world. VIEW View – Align the new object to the view. CURSOR 3D Cursor – Use the 3D cursor orientation for the new object. location ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Location, Location for the newly added object rotation ( mathutils.Euler rotation of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object scale ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Scale, Scale for the newly added object session_uid ( int in [ -inf , inf ] , ( optional ) ) – Session UID, Session UID of the data-block to use by the operator drop_x ( int in [ -inf , inf ] , ( optional ) ) – Drop X, X-coordinate (screen space) to place the new object under drop_y ( int in [ -inf , inf ] , ( optional ) ) – Drop Y, Y-coordinate (screen space) to place the new object under bpy.ops.object. collection_link ( * , collection = '' ) ¶ Add an object to an existing collection Parameters : collection ( enum in [ ] , ( optional ) ) – Collection bpy.ops.object. collection_objects_select ( ) ¶ Select all objects in collection bpy.ops.object. collection_remove ( ) ¶ Remove the active object from this collection bpy.ops.object. collection_unlink ( ) ¶ Unlink the collection from all objects bpy.ops.object. constraint_add ( * , type = '' ) ¶ Add a constraint to the active object Parameters : type ( enum in [ ] , ( optional ) ) – Type bpy.ops.object. constraint_add_with_targets ( * , type = '' ) ¶ Add a constraint to the active object, with target (where applicable) set to the selected objects/bones Parameters : type ( enum in [ ] , ( optional ) ) – Type bpy.ops.object. constraints_clear ( ) ¶ Clear all constraints from the selected objects bpy.ops.object. constraints_copy ( ) ¶ Copy constraints to other selected objects bpy.ops.object. convert ( * , target = 'MESH' , keep_original = False , merge_customdata = True , thickness = 5 , faces = True , offset = 0.01 ) ¶ Convert selected objects to another type Parameters : target (enum in [ 'CURVE' , 'MESH' , 'POINTCLOUD' , 'CURVES' , 'GREASEPENCIL' ], (optional)) – Target, Type of object to convert to CURVE Curve – Curve from Mesh or Text objects. MESH Mesh – Mesh from Curve, Surface, Metaball, Text, or Point Cloud objects. POINTCLOUD Point Cloud – Point Cloud from Mesh objects. CURVES Curves – Curves from evaluated curve data. GREASEPENCIL Grease Pencil – Grease Pencil from Curve or Mesh objects. keep_original ( boolean , ( optional ) ) – Keep Original, Keep original objects instead of replacing them merge_customdata ( boolean , ( optional ) ) – Merge UVs, Merge UV coordinates that share a vertex to account for imprecision in some modifiers thickness ( int in [ 1 , 100 ] , ( optional ) ) – Thickness faces ( boolean , ( optional ) ) – Export Faces, Export faces as filled strokes offset ( float in [ 0 , inf ] , ( optional ) ) – Stroke Offset, Offset strokes from fill bpy.ops.object. copy_global_transform ( ) ¶ Copies the matrix of the currently active object or pose bone to the clipboard. Uses world-space matrices File : startup/bl_operators/copy_global_transform.py:150 bpy.ops.object. copy_relative_transform ( ) ¶ Copies the matrix of the currently active object or pose bone to the clipboard. Uses matrices relative to a specific object or the active scene camera File : startup/bl_operators/copy_global_transform.py:180 bpy.ops.object. correctivesmooth_bind ( * , modifier = '' ) ¶ Bind base pose in Corrective Smooth modifier Parameters : modifier ( string , ( optional , never None ) ) – Modifier, Name of the modifier to edit bpy.ops.object. curves_empty_hair_add ( * , align = 'WORLD' , location = (0.0, 0.0, 0.0) , rotation = (0.0, 0.0, 0.0) , scale = (0.0, 0.0, 0.0) ) ¶ Add an empty curve object to the scene with the selected mesh as surface Parameters : align (enum in [ 'WORLD' , 'VIEW' , 'CURSOR' ], (optional)) – Align, The alignment of the new object WORLD World – Align the new object to the world. VIEW View – Align the new object to the view. CURSOR 3D Cursor – Use the 3D cursor orientation for the new object. location ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Location, Location for the newly added object rotation ( mathutils.Euler rotation of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object scale ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Scale, Scale for the newly added object bpy.ops.object. curves_random_add ( * , align = 'WORLD' , location = (0.0, 0.0, 0.0) , rotation = (0.0, 0.0, 0.0) , scale = (0.0, 0.0, 0.0) ) ¶ Add a curves object with random curves to the scene Parameters : align (enum in [ 'WORLD' , 'VIEW' , 'CURSOR' ], (optional)) – Align, The alignment of the new object WORLD World – Align the new object to the world. VIEW View – Align the new object to the view. CURSOR 3D Cursor – Use the 3D cursor orientation for the new object. location ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Location, Location for the newly added object rotation ( mathutils.Euler rotation of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object scale ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Scale, Scale for the newly added object bpy.ops.object. data_instance_add ( * , name = '' , session_uid = 0 , type = 'ACTION' , align = 'WORLD' , location = (0.0, 0.0, 0.0) , rotation = (0.0, 0.0, 0.0) , scale = (0.0, 0.0, 0.0) , drop_x = 0 , drop_y = 0 ) ¶ Add an object data instance Parameters : name ( string , ( optional , never None ) ) – Name, Name of the data-block to use by the operator session_uid ( int in [ -inf , inf ] , ( optional ) ) – Session UID, Session UID of the data-block to use by the operator type (enum in Id Type Items , (optional)) – Type align (enum in [ 'WORLD' , 'VIEW' , 'CURSOR' ], (optional)) – Align, The alignment of the new object WORLD World – Align the new object to the world. VIEW View – Align the new object to the view. CURSOR 3D Cursor – Use the 3D cursor orientation for the new object. location ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Location, Location for the newly added object rotation ( mathutils.Euler rotation of 3 items in [-inf, inf], (optional)) – Rotation, Rotation for the newly added object scale ( mathutils.Vector of 3 items in [-inf, inf], (optional)) – Scale, Scale for the newly added object drop_x ( int in [ -inf , inf ] , ( optional ) ) – Drop X, X-coordinate (screen space) to place the new object under drop_y ( int in [ -inf , inf ] , ( optional ) ) – Drop Y, Y-coordinate (screen space) to place the new object under bpy.ops.object. data_transfer ( * , use_reverse_transfer = False , use_freeze = False , data_type = '' , use_create = True , vert_mapping = 'NEAREST' , edge_mapping = 'NEAREST' , loop_mapping = 'NEAREST_POLYNOR' , poly_mapping = 'NEAREST' , use_auto_transform = False , use_object_transform = True , use_max_distance = False , max_distance = 1.0 , ray_radius = 0.0 , islands_precision = 0.1 , layers_select_src = 'ACTIVE' , layers_select_dst = 'ACTIVE' , mix_mode = 'REPLACE' , mix_factor = 1.0 ) ¶ Transfer data layer(s) (weights, edge sharp, etc.) from active to selected meshes Parameters : use_reverse_transfer ( boolean , ( optional ) ) – Reverse Transfer, Transfer from selected objects to active one use_freeze ( boolean , ( optional ) ) – Freeze Operator, Prevent changes to settings to re-run the operator, handy to change several things at once with heavy geometry data_type (enum in [ 'VGROUP_WEIGHTS' , 'BEVEL_WEIGHT_VERT' , 'COLOR_VERTEX' , 'SHARP_EDGE' , 'SEAM' , 'CREASE' , 'BEVEL_WEIGHT_EDGE' , 'FREESTYLE_EDGE' , 'CUSTOM_NORMAL' , 'COLOR_CORNER' , 'UV' , 'SMOOTH' , 'FREESTYLE_FACE' ], (optional)) – Data Type, Which data to transfer VGROUP_WEIGHTS Vertex Group(s) – Transfer active or all vertex groups. BEVEL_WEIGHT_VERT Bevel Weight – Transfer bevel weights. COLOR_VERTEX Colors – Color Attributes. SHARP_EDGE Sharp – Transfer sharp mark. SEAM UV Seam – Transfer UV seam mark. CREASE Subdivision Crease – Transfer crease values. BEVEL_WEIGHT_EDGE Bevel Weight – Transfer bevel weights. FREESTYLE_EDGE Freestyle Mark – Transfer Freestyle edge mark. CUSTOM_NORMAL Custom Normals – Transfer custom normals. COLOR_CORNER Colors – Color Attributes. UV UVs – Transfer UV layers. SMOOTH Smooth – Transfer flat/smooth mark. FREESTYLE_FACE Freestyle Mark – Transfer Freestyle face mark. use_create ( boolean , ( optional ) ) – Create Data, Add data layers on destination meshes if needed vert_mapping (enum in Dt Method Vertex Items , (optional)) – Vertex Mapping, Method used to map source vertices to destination ones edge_mapping (enum in Dt Method Edge Items , (optional)) – Edge Mapping, Method used to map source edges to destination ones loop_mapping (enum in Dt Method Loop Items , (optional)) – Face Corner Mapping, Method used to map source faces’ corners to destination ones poly_mapping (enum in Dt Method Poly Items , (optional)) – Face Mapping, Method used to map source faces to destination ones use_auto_transform ( boolean , ( optional ) ) – Auto Transform, Automatically compute transformation to get the best possible match between source and destination meshes.Warning: Results will never be as good as manual matching of objects use_object_transform ( boolean , ( optional ) ) – Object Transform, Evaluate source and destination meshes in global space use_max_distance ( boolean , ( optional ) ) – Only Neighbor Geometry, Source elements must be closer than given distance from destination one max_distance ( float in [ 0 , inf ] , ( optional ) ) – Max Distance, Maximum allowed distance between source and destination element, for non-topology mappings ray_radius ( float in [ 0 , inf ] , ( optional ) ) – Ray Radius, ‘Width’ of rays (especially useful when raycasting against vertices or edges) islands_precision ( float in [ 0 , 10 ] , ( optional ) ) – Islands Precision, Factor controlling precision of islands handling (the higher, the better the results) layers_select_src (enum in Dt Layers Select Src Items , (optional)) – Source Layers Selection, Which layers to transfer, in case of multi-layers types layers_select_dst (enum in Dt Layers Select Dst Items , (optional)) – Destination Layers Matching, How to match source and destination layers mix_mode (enum in Dt Mix Mode Items , (optional)) – Mix Mode, How to affect destination elements with source values mix_factor ( float in [ 0 , 1 ] , ( optional ) ) – Mix Factor, Factor to use when applying data to destination (exact behavior depends on mix mode) bpy.ops.object. datalayout_transfer ( * , modifier = '' , data_type = '' , use_delete = False , layers_select_src = 'ACTIVE' , layers_select_dst = 'ACTIVE' ) ¶ Transfer layout of data layer(s) from active to selected meshes Parameters : modifier ( string , ( optional , never None ) ) – Modifier, Name of the modifier to edit data_type (enum in [ 'VGROUP_WEIGHTS' , 'BEVEL_WEIGHT_VERT' , 'COLOR_VERTEX' , 'SHARP_EDGE' , 'SEAM' , 'CREASE' , 'BEVEL_WEIGHT_EDGE' , 'FREESTYLE_EDGE' , 'CUSTOM_NORMAL' , 'COLOR_CORNER' , 'UV' , 'SMOOTH' , 'FREESTYLE_FACE' ], (optional)) – Data Type, Which data to transfer VGROUP_WEIGHTS Vertex Group(s) – Transfer active or all vertex groups. BEVEL_WEIGHT_VERT Bevel Weight – Transfer bevel weights. COLOR_VERTEX