Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
14 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 ...
0
votes
0answers
24 views

Incorrect context .poll

Do you have any idea how to make this piece of code working? I keep getting this error when trying to execute the unused data-blocks: RuntimeError: Operator bpy.ops.outliner.orphans_purge.poll() ...
2
votes
0answers
40 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 ...
0
votes
1answer
25 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
263 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
14 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
19 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
41 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
39 views

How to sort multi-user objects?

I have a list of all multi user objects per layer: ...
2
votes
0answers
56 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
27 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
36 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
44 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
272 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 ...
0
votes
0answers
28 views

Deleting “Fake user” data blocks en masse

So, I foolishly made a scene chock full of materials with "fake users," but now I wish to completely remove all of the materials from my scene. I deleted every actual user, but, alas, due to the fake ...
0
votes
1answer
114 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
63 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
75 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?
2
votes
1answer
152 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, ...
0
votes
0answers
36 views

Is it possible to hide objects and data from outliner and user?

I wanna only draw mesh objects on 3D View with python, whithout creating or showing actual data-blocks. to only display it, whitout the user being able to select, edit or see on the outliner. Like ...
2
votes
0answers
43 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
72 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
44 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
58 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
139 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 ...
0
votes
1answer
19 views

Removing a group with no users

I have a problem in deleting a group named "Group" in this file. How I made this file I made the "Group" in my first scene. I made another scene and deleted the first scene.
1
vote
1answer
95 views

How to Track Users of Data Blocks?

I find it difficult to understand that there are two users of that mesh data in my blend file. How can I clearly track the user of a block of data in Blender?
1
vote
1answer
118 views

Object preview not generated for large objects (bug?)

I have an issue with generating previews using Batch-Generate Previews for objects larger than around 60m. The object's thumbnail appears completely transparent in Blender file browser. Can anyone ...
1
vote
2answers
964 views

Can not delete an animation action

Like to preface this by saying i have searched the whole internet to no avail, found several people with this problem (usually several years ago) but never found an answer that helped. For some ...
3
votes
2answers
1k views

How to apply scale to multi user?

What is the correct way to apply the scale to an object which has a multi user while maintaining its linked object data properties (e.g. modifiers, materials, vertex groups, etc.)? In other words: I ...
1
vote
0answers
514 views

Create vertices with python

I'm new scripting Blender but I could write the following: ...
1
vote
1answer
220 views

How to distribute overlapping objects?

Let's say we have many overlapping objects. Why are they overlapping? Could be any number of reasons, but most likely because they were generated from a script and the script put them all in the same ...
6
votes
1answer
155 views

How to Select a data block's user in outliner?

How to Select data block's user in outliner?? Nothing happens with my gesture on the gif. And how to I know users in other scenes?
2
votes
0answers
239 views

How to find image's users

thanks for click my question. In the past, when the oops Schematic function is present in the blender, we can found users of datablock very easily. (oops schematic was remove since 2.49b.) But now, ...
2
votes
1answer
49 views

translate (change location) in object more or edit mode?

What is the difference between translating (i.e moving an object) in object mode and achieving the same thing by selecting all mesh elements in edit mode and then moving those? Why would one chose ...
2
votes
0answers
62 views

File much larger than expected

I have a file that has 25 MB, but in the scene I just see a mesh with 6000 vertices. How can I find out where all those MB are coming from? Edit: It turned out there were several textures packed. One ...
4
votes
2answers
1k views

How to batch rename bones and their corresponding vertex groups?

If we have modeled a character or device or something that has many identical moving parts (arms, tentacles, etc.), and rigged one instance of such a part, how do we get all of the bones with the same ...
1
vote
1answer
74 views

Where have RNA datablocks gone since 2.78b?

Between Blender 2.78a and 2.78b, the RNA datablocks have disappeared from the Outliner (or been moved somewhere I don't know), and they didn't come back since then. What's the reason for that ? There'...
0
votes
0answers
39 views

Not able to delete certain materials from blendfile

I'm having trouble deleting certain materials from my blendfile. In the example below you can see that the material appears to have multiple users while in fact there are no other objects in the scene ...
0
votes
1answer
1k views

How to remove a linked library in blender?

I'm following a tutorial in which I built a building by linking objects (walls, floor, windows, etc.) from other files, making a proxy of the linked object, and then using linked duplicates of the ...
4
votes
0answers
27 views

How to list all data in a blend, and how much disk space it's using? [duplicate]

I have a blend file that I've worked with for a long time, testing and experimenting with things like rigify and almost everything else. I'm trying to clean it up. By removing a lot of mocap actions, ...
1
vote
0answers
545 views

Saving Console output [duplicate]

I got some output for my python script on the console. I would like to save the output in a separate file. can anyone have any idea?
3
votes
0answers
99 views

Accessing objects and properties in Blender: what's the best practice?

I'm writing a python script that is about to reduce the vertex count of some meshes in accordance with some custom rules (for technical uses, for example, parallel edges must remain parallel and so on)...
4
votes
2answers
3k views

How to delete a scene with its content?

I have two scenes and I want to delete one of them. So I use the right-click menu to delete. It works, but the problem is that the objects are still in the blender file. As we can see below, if I ...
1
vote
0answers
55 views

Top structure that accept custom property

You can create custom property associated to a data type like this: bpy.types.Objects.MyProperty = bpy.props.IntProperty () So now all objects have this interger ...
2
votes
0answers
305 views

Importing Shape Key Animation using Evaluation Time into Unity

I have been trying to get an animation imported into Unity that is using shape keys. Specifically I am using an Evaluation Time animation, so absolute shape keys. If I am using Relative animation I ...
0
votes
2answers
244 views

How can I make a dropdown box of materials and run code when one is selected?

How would I go about making a property box that contained all the materials in a scene (in a Toolshelf (T) panel for example) and is able to pass the material in the list to another operator that ...
1
vote
0answers
74 views

Changing 'data block' name of object from python script [duplicate]

I am trying to change the name of the object in the data block from the python script. The operation name is: bpy.ops.outliner.id_operation(type='RENAME'). But I ...
-1
votes
1answer
348 views

Does anyone know of a code-generator addon for Blender objects, properties, etc?

I have been climbing up the learning curve for script-driven object creation and configuration, often first achieving the effect I want manually (by pointing and clicking) and then wishing to recreate ...
1
vote
1answer
559 views

Blender command line - Change input image when rendering?

I'm rendering an image from the command line using this command: ...