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
0 votes
0 answers
13 views

Get access to images paths with external text editor (SublimeText for Example)

I want to quickly manipulate images paths in blender files with SublimeText as lists. Maybe I can open blend. files like Zip Archives and edit data-blocks as simple text files? Maybe I can quickly ...
Bicukow's user avatar
  • 672
0 votes
2 answers
27 views

Problems with vertices in blender

I'm new to the world of Blender and I recently added the Extra Object addon which allows me to add Single Vertices quickly. I was creating a handle starting from the single vertex with the mirror ...
Elix's user avatar
  • 1
3 votes
2 answers
207 views

Same mesh but different objects with separate UV maps?

Is it possible to make multiple objects with the same mesh, material, but different UV maps? If I add multiple UV maps to a mesh, the selector of active map seems to be associated with the mesh itself,...
AivanF.'s user avatar
  • 636
0 votes
0 answers
30 views

With a linked object, why can't I override the name as I can with position and rotation without overriding he whole data object?

I have a number of assets in a separate blend file. I drag them into a 'staging' blend file to use them. My default import for that asset library is Link. After I drag them in I use SHIFT+CLICK to ...
Cray-1's user avatar
  • 1
0 votes
2 answers
26 views

Blender API - Use data-block name as if condition

I'm trying to make a python script that searches for an existing camera data-block in the scene and creates it if not found. I've gone with a rather simple code: ...
Raxater's user avatar
1 vote
0 answers
50 views

Can I export the 3D coordinates of part of an object created in Geometry Nodes (without applying the modifier)?

Can I export the 3D coordinates of a part of an object made by the Geometry Nodes to a .csv file (without applying the GN)? For example, I created this road (and its accessories) in Geometry Nodes, ...
miaomiao's user avatar
0 votes
0 answers
23 views

Why is link(object) faster when the target collection is excluded?

I stumbled upon a neat discovery and I don't understand why it works. Starting with a blend file only containing an object called 'Cube' and the default collection, I tested this function to see if I ...
BruinBrood's user avatar
0 votes
1 answer
46 views

File size doesn’t change after deleting part of appended object

I noticed while I was tidying up my blender file that an small object contains almost 300mb of data but it should really be about 3mb. I think what I have done is that I have appended a large object ...
yuki shima's user avatar
0 votes
0 answers
16 views

Is there any way to make single user of a library data block?

I'm trying to see if there is a way to make a linked object a single user of a library, ie having a different library per linked object. object>relations>Make single user> object and data ...
ClayOfMan's user avatar
0 votes
0 answers
22 views

Set material Node using Object Data Materials

I am attempting to build an object with re-assignable materials using geometry nodes. This object will end up being re-used and linked in other blender scenes, and I must be able to set the materials ...
rothloup's user avatar
  • 403
0 votes
1 answer
38 views

How to edit a custom bone display mesh whose object has been deleted

I did the following: Add a Circle named "BoneIcon" Assign Circle as the "Custom Object" of several bones ...
rcorre's user avatar
  • 43
1 vote
0 answers
46 views

How can I edit the number on a property data block?

I have a property to hide a pair of glasses and hair on a character so it is easier to animate, but I want to change the number that turns the glasses off. When the property is 0 the hair disappears ...
Elven_Randomness's user avatar
0 votes
0 answers
139 views

bpy.data: how to update location for rigid body physics animation?

I tried to get the location data of a falling cube in a rigid body simulation. Therefore I added a post-frame-handler: ...
Mike75's user avatar
  • 205
1 vote
1 answer
92 views

How can I store a pointer to a custom data type?

I have a type of PropertyGroup that stores some settings. My goal is to have a master collection full of instances of this group stored with the scene, and a list of slots that can be filled with ...
hayden0729's user avatar
0 votes
0 answers
29 views

PointerProperty with ShapeKey

In the docs it's stated that PointerProperties must be derived from ID or ID Property Group. ShapeKeys are not derived from these and so cannot have ...
Candle's user avatar
  • 290
1 vote
1 answer
342 views

Cannot create library override

I'm trying to create a library override after linking objects into my scene like this: ...
cak3_lover's user avatar
0 votes
1 answer
272 views

(Blender 3.2) How can I use Python to change the variable ID of the property in a driver?

Been searching for an answer to this for quite some time, but haven't been able to connect the missing pieces just yet! My setup is this: I have an armature, and an FBX object of a face with animation ...
CubicTheater's user avatar
0 votes
1 answer
81 views

Blender Python API - accessing name of movie clip data-block from active camera

I'm writing a script that set ups a compositing tree with the MovieClip node. I would like to automate it to take the movieclip background image on the active camera in the scene and set it to be the ...
Matt Fezza's user avatar
1 vote
1 answer
144 views

Create a copy of Material animation data

I have several objects sharing a material that is animating. I'm able to create copies of the material and assign them to each object, but the animation data is still the same for all materials (see ....
Dr. Pontchartrain's user avatar
1 vote
0 answers
50 views

Exported mesh with custom normal error using Hard Ops

I'm using the Blender addon HardOps (0.9.87.26). I can't remove the sharpen edges effect from the mesh and it seems to mess up the normals on import to another scene Ive tried removing custom norml ...
StackBuddy's user avatar
3 votes
0 answers
43 views

How to view datablock dependency hierarchy?

In my startup file I have various node groups that I keep on hand for common tasks. Sometimes I will add a new node group or material that contains an existing group inside it. So what happens is <...
Mentalist's user avatar
  • 18.6k
0 votes
0 answers
157 views

Search Box for Custom CollectionProperty

When you have 'particle effects', or 'sounds' or 'actions' (among others), there's a dropdown like this: It lists all items of a data type, and allows you to create a new one, change the active one, ...
Candle's user avatar
  • 290
1 vote
1 answer
89 views

How to structure data per object per material

I'm working on an addon where I need to be able to store a float that is not just specific to a just an object or just a material, but both. I want to display this property next to the material in a ...
Anson Savage's user avatar
  • 3,290
1 vote
1 answer
55 views

How to copy a font data block(ID) from active to selected strips?

I need to copy/link the font chosen in the active strip in the VSE to every text strip in the selection. So I need the get the current font ID of the active strip and apply that ID to all strips in ...
tintwotin's user avatar
  • 2,246
0 votes
0 answers
173 views

Is there a way to change blenders rename character limit?

I, just tried to rename a Blender timeline marker to a longer sentence and noticed there's a limit of 63 characters. So I was wondering if there was a way to change this limit.
Hexogrammer's user avatar
3 votes
1 answer
776 views

Geometry Nodes: How to iterate a Vertex Color gradient across geometries?

I want the geometry I create in Geometry Nodes to be generated with a Vertex Color gradient that I can use in the object's material. In this example there are several rectangles, one original, and ...
Mentalist's user avatar
  • 18.6k
0 votes
0 answers
32 views

F-Curve Selection UI

I'm seeking to create a UI property that lets the user choose an an F-Curve channel. I tried the prop_search method using this question's code as an example (Object selection box with eyedropper), but ...
Dr. Pontchartrain's user avatar
2 votes
0 answers
35 views

Storing a CollectionProperty in the whole .blend file scope

I'm working on an addon where now I am trying to store a CollectionProperty (containing custom PropertyGroup class elements) in ...
Adrians Netlis's user avatar
5 votes
1 answer
597 views

Adding points to curve with bpy

I want to create a curve between two given points. But I don't know how to add the points to the curve object. When you create a new mesh data block, you have the from_pydata() function to add verts, ...
Namen des Benutzers's user avatar
3 votes
1 answer
214 views

Assigning custom properties automatically

I have been looking at some add-ons written by other users, and noticed that on startup, every object in the scene has custom properties defined automatically, even if the addon is never actually used....
Tyler Beaird's user avatar
1 vote
1 answer
707 views

'bpy_prop_collection' object has no attribute 'unlink' error

I'm trying to remove object and free from memory. I googled some, and found an old article https://blenderartists.org/t/how-to-clean-memory-after-running-a-script/608062 I copied the script and ...
user136892's user avatar
-1 votes
1 answer
4k views

How do I update to Blender 3.0? [duplicate]

I just found out Blender got an update and I'm still using 2.90.1. So how do I download it, or does it just automatically do it? And will I still keep all my current stuff I saved?
Stephen's user avatar
  • 267
2 votes
0 answers
139 views

store custom data to blender file (json text)

I am trying to write/read custom data in blender files (a json text in this case). For that I want to use my custom addon. But there are some requirements about how this data is stored: Ideally this ...
user2854611's user avatar
1 vote
1 answer
46 views

Where are the mesh instances used?

I don't understand where my other mesh instance is used, I want to have only one instance. When I click at the number of users (2), I get a single user mesh; but the other mesh still remains even ...
Copy's user avatar
  • 23
1 vote
1 answer
60 views

How do I removed the stored vertices data in Blender 2.79?

Thank you very much for your time, any help would be appreciated. I have been using the code below to shrinkwrap an Icosphere onto my 3D models, then find the vertices coordinates of the Icosphere and ...
Adam Manning's user avatar
0 votes
2 answers
3k views

Is there any way to purge EVERY unused data from a blender file?

How can I remove any mesh, texture, material and others from a Blend file? Now I have a single scene with one object that has no material, nothing is hidden, I am not in local mode, I tried every File/...
Denatural's user avatar
  • 338
1 vote
1 answer
274 views

New Blend File has A LOT of orphan data

Everytime i start a new blend file, i have orphan data. 3 materials that won't go away 99 meshes, and 99 objects. Tried purging them and resaving the startup default. But they come back everytime. ...
Gary Barringer's user avatar
0 votes
1 answer
47 views

How to transfer render data from one object to another.?

The other day I was thinking about wormholes and thought if it is possible to transfer the render view data of an object with a glass BSDF to another object, so the environment that we can see through ...
Nishant Joshi's user avatar
6 votes
2 answers
2k views

Override a material on a Linked object (2.92)?

I have a character that is linked into a Scene as a collection. I want to change an input value of a nodegroup in one of the character's materials, preferably without making the whole thing local. Of ...
Ascalon's user avatar
  • 6,447
4 votes
1 answer
526 views

How to make shape-keyed particles behave independently?

Let's say we have a mesh object with a Shape Key deformation, and it's driven by a Driver based on its distance from an Empty. It works as expected. But then if we want to make a Particle System of ...
Mentalist's user avatar
  • 18.6k
1 vote
1 answer
161 views

This script can't run twice, why?

Blender ver 2.83 LTS. Whenever I tried to run this script twice, it came out an error: ERROR (bke.lib_id): C:\b\buildbot-worker-windows\windows_lts_283\blender.git\source\blender\blenkernel\intern\...
Fischer's user avatar
  • 13
5 votes
1 answer
314 views

How to get rid of garbage data in blend file

I'm having a problem that by appending collections from scene to scene (or shot to shot) the blend files are inflating in size (well over 1GB already), although they contain more or less the same ...
B_Engstler's user avatar
2 votes
2 answers
156 views

Isn't the function PURGE ALL intended to purge all the unused assets in a scene?

I tried this over and over, but it appears to not be working correctly from my point of view. Several textures that are not used anywhere are not being purged. I tried to close and reopen Blender, but ...
PolyMad's user avatar
  • 784
0 votes
1 answer
43 views

Is it possible to store edge data layers?

Something that I do frequently in blender is use a UV map for coordinates to map an otherwise procedural texture, such as when texturing a snake. I don't always know where the best seams would be ...
Nahotnoj's user avatar
  • 157
1 vote
1 answer
225 views

How to display number of users in object properties panel? 2.91

After updating to 2.91, I can no longer see a user number in object properties, when using Duplicate Linked (Alt+D). Is it possible to make this feature work, like in previous versions? Here's how my ...
Lukimoo's user avatar
  • 13
0 votes
1 answer
103 views

How To Replace Data From New Data Coming From Another .blend?

Here's a simple example, I have a .Blend with 50 objects, all appended inside my .Blend, they each have their own materials. Now I created my scene with those assets and did some work etc... My ...
Fox's user avatar
  • 1,841
0 votes
1 answer
823 views

Is it possible to delete linked Mesh Data?

I need to get rid of every multi user block data but there is too many of it so i can't do "make single user" for every model. I want only worldspawn_16740 to stay.
Boti's user avatar
  • 3
1 vote
0 answers
65 views

Python - How to prevent Undo from unloading image data blocks

I am working on an add-on which has a complex user interface and an integrated asset manager (Think blender kit interface). As such I want to load a large number of small thumbnail images into blender ...
Richard Rose's user avatar
3 votes
1 answer
554 views

How to use different types of data blocks for driver variables?

I know that the content of text can be registered through a user-defined function and entered in the Expressions box. But how can I use text as a data block for variables, as shown in the image? ...
J. SungHoon's user avatar
  • 2,168
3 votes
2 answers
2k views

How to get the data path of object dimensions for using in drivers?

Is there a way to get the data path of object dimensions for using in drivers? How to get the variable for a specific object y-dimensions for example? Thank you Chris
Christoph Werner's user avatar