What's the deal with Deno? We talk with a major contributor to find out. Listen now.

Questions tagged [data-blocks]

Use this tag for questions about managing or linking to blocks of data within a .blend file. The base unit for any Blender project is the data-block. Examples of data-blocks include: meshes, objects, materials, textures, node-trees, scenes, texts, brushes and even screens.

Filter by
Sorted by
Tagged with
3
votes
2answers
197 views

How to quickly rename an object in 2.8+ (like with the Item section in 2.79)

In 2.79 there was an "Item" section in the Properties Panel that allowed the active object to be renamed quickly any time. This made it easy to label objects quickly, so keeping an ...
0
votes
1answer
22 views

Where's “link object data” When creating new scenes?

There used to be an option when creating new scenes to link only object data and not the "object" itself, so every object in the new scene could have its own transformation values. Is there ...
1
vote
1answer
9 views

Several different multi user objects to single user

What is the most effective workflow for making several (20) different multi-user models each into single user? My use case is: I have 3 different objects each distributed manually several times ...
3
votes
1answer
89 views

How to discover the users of an action?

This blend file contains a Sphere, a Cube and a Cone. The action CubeAction acts on the cube. In the Action Editor, it can be seen to have 2 users. So it must also act on another object, but which ...
0
votes
1answer
28 views

Kit-ops: how are cutters done?

I was looking at the free version of Kit-ops plug-in, and I noticed that the selection of a single component of the cutter, selects all the element of the cutter. This happens both in the 3d view and ...
1
vote
0answers
15 views

UI Dynamic Datablock List [duplicate]

How do I create an element like this in a UI? Also, is it possible to add custom datablocks to the list? By that, I mean create datablocks that are not the ones that come with Blender by default (...
1
vote
1answer
37 views

Copied scene needs a user?

From the default startup, if you run bpy.context.scene.copy() you get a copy of your scene that has 0 user and gets added to the orphan data. In reality, if you ...
0
votes
1answer
46 views

Blend file size is huge

After adding image as planes and use as a particle, size of File and used by ram is increased from 35MB to 568MB. Ram used 350MB to 10GB Even if i add ivy file size is 35MB. Only 3 textures are ...
1
vote
1answer
69 views

How to copy mesh to new files with Python?

I have a blend file with hundreds of mesh objects as part of a kit bash pack. I want to copy each mesh to its own file and turn those files into KPacks for Kit Ops addon. To export each mesh into a ...
4
votes
1answer
110 views

How do I create a text datablock and populate it with text with Python?

How do I create a text in the text editor and populate it with text with python? To create a text datablock, I tried bpy.ops.text.new() and it worked. When I tried ...
1
vote
1answer
43 views

Create Library Override of Data Block

I want to access the "create library override" of a linked object in the data-block panel like shown in the image below via Python. When I do this, nothing appeared in the info panel. Is there any ...
1
vote
0answers
13 views

How can I make an addon that stores arbitrary data with a .blend file?

What I'm trying to do I'm trying to make an addon that can import Minecraft model files. Unlike many 3D files, Minecraft files use a hereditary system where each model file can have a parent file ...
0
votes
0answers
18 views

Why is blender saying some of my scenes have no user [duplicate]

Blender started "randomly" deleting some of my scenes and when I checked, it was because it said there are no users. I figured out how to add a fake user now (via the "Orphan Data" Outliner) but I'm ...
2
votes
4answers
150 views

How do I fix a scene with zero users?

I'm using blender 2.83 beta and I'm in the middle of a nightmare with a blender project that is randomly considering my scenes as 0 users datablocks. It gives a red background on the scene name and a ...
1
vote
1answer
64 views

Get list of attributes of a bpy.data struct?

Is there a way, in python, to get a list of each of the attributes that are part of a data struct? For example, I know you can get Object.data, Object.name, Object.location, etc. I've tried doing a ...
0
votes
0answers
20 views

Assign a datablock to an existing object

For example: camera_obj = bpy.data.camera.new("Camera") obj = bpy.data.objects.new("Camera", camera_obj) works as expected. But is it possible to create ...
0
votes
0answers
45 views

Is Mesh Occlusion Data Available in Blender Python API?

I want to create a mesh object that is made up of ONLY the edges which are visible from a given camera. This mesh needs to be dynamic, as objects animate and the camera moves, edges should adjust ...
0
votes
0answers
21 views

OBJECT Data Blocks / single users [duplicate]

Morning... I have one of those chores today of importing dxf file with 4 curves.. making them mesh... setting the origin points on each... rotate and scale... then extrude... then repeat this process ...
0
votes
0answers
28 views

Python - Use bpy.data.libraries.write on only the active action

I am trying to create a small addon to export actions into new blend files for easy access later. That way I don't have to dig around my other blend files looking for specific animations. I have been ...
0
votes
0answers
23 views

How to avoid material duplicates when appending multiple assets?

i just found a really odd behavior in blender: Actions: 1) append an object that have the material named "Red" 2) append another object that have this same material 3) same with another.. ect.. ...
0
votes
0answers
15 views

Access changes to BlendData with internal Python script

I would like to be able to detect changes that have occurred in a Blender file using a python script. This would include: Deletion events Creation events Modification events Where each event is ...
2
votes
0answers
51 views

Delete particular polygon of a mesh

I'm trying to do something with scripting in Blender 2.8. I have an stl model of cube. It has 12 polygons (12 triangles). I access them by using: ...
0
votes
1answer
174 views

How can I create a library of animations?

I want to store animations (just the animation data itself) so they can be recalled and reused in other projects. How do I create such a library of purely animation data? (For instance if I have ...
2
votes
1answer
346 views

Data path for driver: secret of 'node_tree.'

1) I prepared two objects for driving. 2) I copied the data path of the color property of diffuse shader in Suzanne's material node to drive the box. ...
1
vote
0answers
89 views

Getting the list of objects in another file to update for appending

I need to append a large number of objects from an external file. To facilitate that, I created a version of the file that is stripped down just to the objects I need, so I could just select all and ...
1
vote
1answer
19 views

The scene does not split for logic editing

I am facing a problem with splitting the screen in half for logic editing. Whenever I drag the top right triangle, the scene does not split.
0
votes
1answer
282 views

Deleting Particle Settings Data Blocks

I wanted to be straight. I just wanted to delete this data-blocks, because leaving it unbaked in my scene is eating a lots of ram. I've set an example: So many of them were unused and just a ...
0
votes
1answer
25 views

Detect if object data is associated with a scene in any way

I'm making an addon for the NLA editor, and I need to know precisely which strips are selected in the NLA editor. Unfortunately this means checking every single data object in the blend file, because ...
1
vote
0answers
62 views

How to get rid of Data-Block objects using pythong?

I'd like to access all linked data blocks and remove them from scene using python, without deleting the actual data from my hard drive. Context: I linked a grouped armature to my scene, made it a ...
2
votes
0answers
393 views

How to copy or project uvs & (data block) to another object

How to copy or project uvs & (data block) to another object? to use the same UV map in other objects How i do this ? Maybe you want to work on your object until it satisfies the lowpoly lod ...
1
vote
1answer
91 views

display object data name in the wiewport

Ewery time I want to check witch data block is used by the selected object I have to switch to object data tab in the properties view, is there a way to instantly display the used object data name ...
0
votes
2answers
2k views

How do I delete unused data? [duplicate]

I want to quickly minimize the size of a Blender file. How do I delete any data that is not being used?
1
vote
0answers
17 views

Can a ouliner operator be placed in an custom Panel

bpy.ops.outliner.orphans_purge() to put it onto a button into a custom panel- but that button is grayed out... this is how it looks like: ...
1
vote
0answers
44 views

Is it possible to extend bpy.types.ID?

I've been working on an exporter script which contains a collection of tools for describing game-specific objects which are to be exported. Right now i've been doing a custom PropertyGroup defining a ...
0
votes
1answer
251 views

View input vector values of Image Texture node?

I'm troubleshooting a model in which I have an Image Texture node with a generated image 119,617 pixels in width. As the node accepts the pixel coordinates in normalized form only (from 0 to 1), I ...
0
votes
1answer
48 views

How to sort multi-user objects?

I have a list of all multi user objects per layer: ...
3
votes
0answers
276 views

Remove a linked Indirect Library datablock

I am trying to remove a texture data block from a file. It seems to have been put there by an addon that is no longer installed. The texture block is a Linked block, originally linked in from a file ...
0
votes
0answers
32 views

Working Pipeline with Imported Meshes?

im working with imported files (from differents architects) , and they like to do “updates” of the building model almost twice a day ,when im working on it in blender, doing texturing work , material ...
1
vote
0answers
92 views

copy noise curve

I need to change the Noise Modifier data in a noise loop. I want to divide by 2 the frame numbers because the cycle is too much long. To change this in just 1 object is not a problem, but my scene (6x ...
0
votes
2answers
142 views

Deleting World Data Block from the Outliner Tree

Rookie errors! It seems at some point I have deleted the World Data block from the Outliner Tree. When I needed to create a World background I added a new World from the properties panel, however the ...
9
votes
2answers
838 views

What is a Duplivert, or a Dupliframe, internally?

I've been using Dupliverts, and Dupliframes without fully understanding their internal representation in Blender. (i.e. which Data Blocks are linked,and which are copied, how parenting is related to ...
1
vote
2answers
510 views

How do I “unlink” or “make local” a created proxy?

How can I remove a linked library that pertains to a created proxy without deleting or altering the proxy or proxy's data? Using the "make local" function,L in object mode, simply unselects the ...
1
vote
1answer
140 views

how do i removed orphan linked material

I have two materials that I linked from another file and I can't figure out how to delete them. As you can see, both HairMix and VariableMaterial show LF in the search box. They do not go away when I ...
1
vote
1answer
287 views

parallel processing and Job API

Someone told me that the long data processing task can be parallel processing by JOB API of Blender. But I can't find any doc or example about JOB API. Could someone give me some suggestion about it?
3
votes
1answer
546 views

How to make local single-user copy in Python API

How to use this button via Python. bpy.ops.object.make_single_user(object=True, obdata=True) does not work for me at all, ...
2
votes
0answers
51 views

Why do Blender objects have a type?

To the outside it appears at least superficially as if an object was not much more than it's location, rotation and scale values and the datablock handled the rest. That's obviously not the case and ...
1
vote
1answer
141 views

How to store and access generated data in a project?

I have written some code to work in conjunction with Animation Nodes to use MIDI files to drive procedural animations. It works wonderfully, but I want to refactor and polish it before I release it. ...
1
vote
2answers
318 views

Why is my file so much bigger after baking textures and adding an HDRI, and can I reduce it?

The file I'm working on was 1.7 Mb before baking textures onto most of the objects in it and adding a background HDRI, and now it is 17.2 Mb. That's even though all those images are separate files and ...
1
vote
1answer
67 views

Rig doesn't keep X-Ray enabled when linked into new file

I have a character using the Rigify rig, with X-ray enabled both in the armature properties and object properties. The rig and character are part of a group. I link the group into a new file, and then ...
1
vote
0answers
255 views

How to remove bvh data completely using scripts in blender?

I'm trying doing bvh retargeting using blender script. After I delete bvh using bpy.ops.object.delete(), the bvh data is still in memory, but I have many bvh file ...