Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
326 views

Passing variables in IntProperty constructors ignores changes in the variable when creating more instances using CollectionProperty.add()?

Sorry if the title is unclear. I'm working on an addon which involves a UI with a list of IntProperties. I need to be able to add and remove elements from that list on the fly, and I want the min/max ...
0 votes
0 answers
249 views

Why cant i see all light and shadow properties in Blender version 4.2 and EEVEE renderer

Im new to Blender and im using version 4.2 and while trying to follow a tutorial i cant see the same light/shadow porperties as the video shows. I should be seeing the properties for Cascaded shadow ...
2 votes
0 answers
21 views

How to Get All Possible Values of an EnumProperty in Blender Python [duplicate]

I'm developing a script where I need to retrieve the available values of some EnumProperties in Blender. I found a similar question already answered here. However, ...
0 votes
1 answer
47 views

how do I change the properties of the selected element in the UIList?

so, i have the ui list and many properties for each element witch is added to it. The idea is that when the user selects an object in the list, its properties are displayed at the bottom. He can ...
1 vote
2 answers
3k views

Properties don't open up (Hotkey n)

When I press the hotkey N, on the right hand side open up some property registers. But if I click on one of them, there doesn't appear a panel where I can make some changes. How do I fix that? This ...
3 votes
1 answer
322 views

How to get a collection of a material node's unique properties with the python API?

I'm attempting to find a way to identify the unique properties from material nodes to put into a collection instead of accessing their values by their name. Nodes have collections for inputs, outputs, ...
0 votes
0 answers
95 views

Showing (and modifying) a Color Ramp in addon's menu?

I've seen this post from 9 years ago and I'm asking it again because is possible that things have changed (I hope) when it comes to work with color ramps. I'd like to display and modify a color ramp ...
1 vote
0 answers
41 views

Prevent that changing an Operator's property retriggers the operator?

I'm making an operator that has the bl_options = {'REGISTER','UNDO'} in order to call the undo menu. Since my menu's draw() is ...
1 vote
1 answer
49 views

How to create an enum dropdown that updates when an object is selected?

I have created an enum property that contains all UV maps of an object ...
0 votes
0 answers
18 views

The Active Tool Tab in the Properites Editor is Entirely Empty

I was doing some sculpting and went to change some of the settings on the tool I was using, but the Active Tool tab was entirely empty. I don't know what could have caused this and I couldn't find ...
1 vote
1 answer
58 views

Triggering the Eyedropper from a certain color property in UI directly or via code?

Im trying to trigger this eyedropper for this color property (the vertex color in Paint mode in Grease pencil): The eyedropper is triggered when pressing E but ...
0 votes
1 answer
64 views

Unable to Access Registered Class Properties (Properties Grouped in Class)

I'm grouping my properties in a class like this: ...
0 votes
1 answer
95 views

How can I change PropertyGroup properties (IntProperty, FloatProperty etc) after Operator executed using the PropertyGroup?

How to make changes in the last action menu affect the operation with properties passed in, like if I change them in the ...
1 vote
1 answer
59 views

Getting the "disabled" version of an icon?

Is it possible to get the disable version of an icon? I mean, like when we set the layout.enabled = False? (I need a property to look (only look) as disable, but ...
1 vote
1 answer
96 views

How to avoid drawing an UIList item in draw_item?

I have an UIList drawing a collection of items. When those items have a property (bool) draw_in_ui set to False, I would like to avoid it from drawing in draw_item() function: I thought about ...
1 vote
1 answer
43 views

EnumProperty UI 'Dropdown List' Not Displaying in UI element

So I am writing a little add-on for myself (whilst learning UI dev for Blender) and I am attempting to add a DropDown element via an Enum using EnumProperty. However, after a successful compiling it ...
0 votes
1 answer
59 views

Accesing individual values in PropertyGroup via .prop in the menu

I need some help with properties. I have a property class, pretty straight forward stuff ...
12 votes
1 answer
3k views

Add menu entry to generic right-click menu?

I can't find a way to append/prepend an operator to blenders generic "right-click" menu. When looking into the source of interface_handlers.c it seems the operators ...
0 votes
1 answer
417 views

Creating properties dynamically for UI panels in a Blender addon

I'm currently working on a Blender addon, and I'm facing an issue regarding the creation of dynamic properties for UI panels. Specifically, I'm trying to read parameters from a JSON file and display ...
0 votes
0 answers
34 views

props.BoolProperty's update not being called when pressed

I am trying to do a simple floating menu toggles with update functions linked. At the moment the update functions does not get called (not showing up in the console) which means something is not quite ...
2 votes
1 answer
263 views

Making a generic "ID"/datablock pointer property in an add-on

I'm making an add-on and would like to have properties for selecting ID-blocks and data paths, similar to those in KeyingSetPath. Here's how I'm declaring them: <...
2 votes
1 answer
34 views

running function when selecting shapekeys

I'm trying to run a function (setting the active shapekey value to 1, and all other shapekeys values to 0) when selecting a shapekey. Not quite sure how to achieve that. I tried subscribing to msgbus ...
0 votes
0 answers
25 views

Properties don't show up on panel [duplicate]

I was following this tutorial to make a simple calculator in blender (v3.3.1), my code is almost if not completely identical to that of the recording but unlike the tutorial's mine does not seem to ...
1 vote
1 answer
129 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 ...
1 vote
0 answers
192 views

How to display an enum property with icon_only=True and use the full width of a row?

I wanted to ask how I can make an enum property use the full width of a row if I only want to display the icons. Here my code: ...
-1 votes
1 answer
636 views

How to use Property Definitions and PropertyGroups with UILists?

Ok I have to be honest here, UIList are confusing and I haven't been able to find any good documentation to help me with this question: How do I go about using IntProperty, BoolProperty, ...
1 vote
0 answers
75 views

Convert EnumProperty to be usable in prop_search

I want to make a list of the names of all Objects and Collections in the scene searchable via prop_search. I have the generated name list as an EnumProperty, but <...
0 votes
0 answers
37 views

'Search Bar' for custom UI Lists - prop_search [duplicate]

I'm trying to create the ability to have multiple UI Lists (custom, assigned to bpy.types.Object) which can be selected and have their names edited by use of a <...
0 votes
0 answers
88 views

How to get name(label) of the checkbox

As an example of a checkbox, I took Viewport Denoising (You can see it in the picture). I have a checkbox and I want to get its name(label) through a script. How to do it?
1 vote
1 answer
138 views

Spreadsheet Attributes Sorting

I have a (maybe) dumb question : Is it possible to sort the spreadsheet by attribute value ? In this example : Vertices are sorted by index : and i have an attribute ( Front_Pts) with -1 ,0 ,1 ,2 3 ...
2 votes
1 answer
168 views

'List' of Properties in NLA Strip Pt.2

In relation to 'List' of Properties in NLA Strip. see that part for details... How can I get the list (and its custom properties) saved into a "specific" NLA Strip, so the item(s) ...
1 vote
1 answer
101 views

'List' of Properties in NLA Strip Pt.1

I've got this UI element, outlined in red in the image, in the NLA Editor. I can make the UI elements, but I need help with the logic. How can the 'UI List' contain just the two custom properties ...
5 votes
1 answer
2k views

Keyboard Shortcuts for Properties panel?

I find myself clicking through tabs and accordions in the Properties Editor so often that I wish there was a more ergonomic way to navigate through. The tabs I'm referring to are Render, Output, View ...
0 votes
1 answer
345 views

Dynamic Enum Property Translation Problem

I have a problem with a dynamic enum. Strangely enough special characters are not handled there as you would imagine. Here is a script to test. So that you don't have to create extra files, as it is ...
1 vote
2 answers
1k views

Setting the Default Value of a Float Property Dynamically

I am updating the active object's location.x with a FloatProperty with the following code. How can I change the value of the FloatProperty slider to the active_object's current location.x when the ...
2 votes
0 answers
201 views

Connecting an Operator with a Panel Float Slider

I have a very basic question about Operators and Properties. I can't wrap my mind around how I'd make a Float slider in a Panel that affects a selected object in the 3D view as I drag it in real time. ...
2 votes
2 answers
2k views

Creating a row of boolean properties (with icons) aligned in a UI panel

Is it possible to do this within a bpy API - a set of boolean properties where multiple can be selected, with their own icons, right next to each other like below (from the outliner filter): Whenever ...
3 votes
1 answer
151 views

How to get rid of the name overlay on this vector control?

I can draw the control shown below on a panel using: col = self.layout.column(align=True) col.prop(bpy.context.scene.display, "light_direction") But, the ...
0 votes
0 answers
157 views

Problem reading folder path [duplicate]

I have a script where user can set specific folder path to work with. So I have a string property in property group class: ...
24 votes
2 answers
23k views

How do I copy a property from an active object to selected objects?

I have been using the Copy Attributes add-on to copy some properties from active object to selected objects. This add-on is not enabled by default and must be explicitly enabled. But its a very useful ...
1 vote
1 answer
739 views

Value sliders are too fast even with shift pressed

I know pressing shift will allow me to do finer adjustments. However, in some cases, it's not enough: For example I'm trying to fine-tune the distance of this bone constraint. Even with shift pressed,...
4 votes
0 answers
493 views

Custom/dynamic tooltips when hovering over properties in the UI

I recently found out about the great "Paint Palettes" addon that comes with Blender but one thing that I really would have liked to see implemented is useful tooltips like name and/or values ...
0 votes
1 answer
192 views

Break node connections from within Property Editor?

To create a node and connect it to a Property, I can click on the color-coded dot next to the Property name. This launches a pop-up menu of permitted input nodes for that data type. So how do I BREAK ...
1 vote
1 answer
1k views

How do you access the object that a PointerProperty points to?

I have created a PointerProperty so that I can specify a target object that I want a my script to act on, but I can't seem to find any information about how to actually use the pointer property once I ...
0 votes
1 answer
2k views

How do I add a new panel to the Properties Editor?

First, I want to make sure I'm using the right terms and talking about the proper part of the Blender workspace. From reading a few different answers on SE:Blender, and a few other sources, my ...
1 vote
1 answer
31 views

Adjust properties of 3D object and camera faster

I need to adjust position parameters for a specific object and x shift value parameter for the camera frequently. What are my options to make this process more comfortable? - I want to avoid that I ...
0 votes
0 answers
131 views

Updating custom file path in UI panel

I have an object property group with a ccustom filepath: ...
1 vote
1 answer
329 views

Format IntProperty/FloatProperty in GUI layout.prop?

Is there a way to format how the value of Float/Int properties are shown in python blender GUI? Right now it's always the same 'text' + 'value' (+ 'unit' if specified in the prop options). But what ...
1 vote
0 answers
16 views

Unable to use LMB in any properties to increase or decrease values

Blender version 2.90.1 on a Mac (version 10.15.6) using a Magic Mouse In any properties view I am unable to use LMB and drag to increase or decrease values. I tried to find anything in preferences ...
3 votes
1 answer
512 views

What are the Cycles specific Viewport Display settings in the material tab good for?

The material tab contains a Viewport display panel. Here you can set the color to display a mesh in green in solid mode for example. But there is also a Setting sub panel. And its content does simply ...