Questions tagged [properties]

Questions about accessing object properties or attributes while scripting

Filter by
Sorted by
Tagged with
1
vote
0answers
4 views

How to make a text box active(Similar to rename by F2) in blender python?

I have a panel that pops up when a user presses some shortcut key and the panel has one text box(row.prop(....)).Now i want to make the text box active so that when the user presses the shortcut key ...
0
votes
2answers
53 views

Simple python code does not work

Not sure why this simple code does not work. I tried several things... but it only works if the values are statics . In this example I put one dinamic value (does not work) and another that works but ...
1
vote
0answers
17 views

Is it possible to control the visibility of an entire collection with drivers?

I'm trying to utilize custom properties to toggle the visibility of an entire collection on or off. However, when I right click on the restriction toggle for a collection in the outliner, the options ...
1
vote
0answers
26 views

Blender Dev. Custom properties set hide or non editable

I was wondering if is a way to hide or set as non editable a custom property. In Phyton i can use: object[ label_property ] = value_property I need to said... ...
0
votes
0answers
10 views

Change liquid density in flow simulation

is it possible - and if yes how - to change the density of the liquid in Blender? The viscosity can be changed, but if the liquid has also another density, e.g. liquid steel with about 7000 kg/m**3, ...
-1
votes
0answers
42 views

How can I change the common properties of multiple objects within a collection when the collection is selected? [duplicate]

When I select a collection of nested collections of text objects and attempt to change the font - only one text object is changed. I have a multiple layered collection that contains all the text ...
0
votes
0answers
30 views

Updating custom file path in UI panel

I have an object property group with a ccustom filepath: ...
1
vote
0answers
30 views

Texture tab/properties panel missing 2.82/2.91

Texture tab/properties panel is missing. When I open a new file, it's there. It's definitely something to do with the file, because it's the same story after opening this file in 2.91 and 2.82. Also ...
1
vote
0answers
17 views

dont see material propeties when i have render engine selected to Cycles

Hi everyone I have a question, I just started using blender and I'm watching a video of making a donut to learn the basics, on the video they recommend changing the render engine type to cycles and I ...
0
votes
1answer
14 views

How make “CustomTool(WorkSpaceTool)” call modal with specific “property”

i am making a custom tool, i would like to have different behaviour if i use the tool holding Alt, Ctrl, Shift.... in the templates there is an Half/example in the UItool simple. But i cant make it ...
1
vote
0answers
29 views

How to add the properties dynamically by using bpy.types.CollectionProperty?

I'm trying to create an add-on which changes the number of bpy.types.BoolProperty dynamically along with the context by using bpy.props.CollectionProperty. But, Blender will crash when I changes the ...
2
votes
2answers
48 views

Is there a way to drive “Mute a node” or Toggle “Auto Refresh” in the Image Texture Node in Movie / Sequence Image Mode

Hi There Blender Peeps.. I am in need of some help, I am wanting to make a shortcut in the Item Properties to toggle a node from working, The Item Properties shortcut I speak of is the area Right Side ...
1
vote
1answer
27 views

Is there any Property in the bpy.props which can take multiple lines of text?

The idea I want to implement is to have some kind of StringProperty in the UI so the user could enter multiple lines of text into it which then could be used as a ...
0
votes
0answers
12 views

A pop to select environment texture doesn't come up

When I click the circle next to color swatch under world property, a pop up is meant to appear so I can select environment texture, but nothing appears.
2
votes
0answers
28 views

get value of dynamic enum

I made dynamic enum for a preview and I would like to select a preview and then press a button for appending this object from another blend file. But how do I get a value from a dynamic enum? Or is ...
0
votes
0answers
22 views

Adding custom property to object

I am trying to add a custom property to my panel. The custom property should look like the ones for scaling the object (sliding bar). Here below my code so far. As you can see, I managed to implement ...
2
votes
1answer
38 views

Centralizing properties updates in one function? [duplicate]

Is there any way have some more information of the prop from it's update function? In the example below, unfortunately, self will point out to bpy.types.Scene, instead of the prop itself. so it seem ...
0
votes
0answers
39 views

Hide Custom Properties by BoolProperties

I am trying to create add-on in order to control the color from RGB node and struck at how to hide the custom Properties with the material of the selected object does not have included the RGB node. ...
1
vote
1answer
23 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 ...
2
votes
1answer
35 views

Alpha modifier, or properties, that affect the child of the group “as a single object”

I try to transfer my UI design workflow into Blender and I have one major blocker. In UI design we overuse the ability to group object and modify/animate the properties of this group like scale/...
0
votes
0answers
21 views

Check for collision detection for Synthetic Dataset Generation

I am using blender for a synthetic data generation for over a month now. I was hoping to achieve the same computation with less time than using BVH tree for collision detection, no luck so far. I was ...
0
votes
0answers
57 views

Controlling Node Values with python custom UI / FloatPropetie

I am currently trying to make an addon for my Minecraft Pufferfish rig with many options and settings. Now I am at the point that I have created around 60% of my UI with different properties like int ...
2
votes
1answer
36 views

How to create a panel with different properties for different objects

In Blender when I select an object and I change any setting, the other objects are not affected, but when I create a panel with properties from bpy.props, changing an intProperty on one changes it on ...
2
votes
1answer
51 views

How to control spacing/alignment of Label + Horizontal Enum Property?

I would like to achieve the layout of this panel but I'm having some issues. The example is from blender's Bevel Operator. As far as I can tell it's just an Enum Property without the enum_flag since ...
0
votes
1answer
31 views

error passing a property to a function (name not defined)

I am fairly new to python scripting, so getting into blender is a uphill battle at the moment. I want to pass a property into the REDO panel that, when checked, tells the operator to take effect only ...
0
votes
1answer
21 views

mesh rotation error after i attached the bones

firstly , i create a toy with several boxes, then i create several bones seconldly , i set the mesh's parent to any bone and last, i found the body mesh's orientation changed by the bone, what's the ...
0
votes
0answers
27 views

How can I export bone properties (eg. rotation data) of an armature for each frame into an external text file?

I'm new to Blender and most of all new to Python programming language. Here is my problem: I have a rigged armature of a human body which was animated in 75 frames through pose mode. What I'd like to ...
0
votes
0answers
31 views

How to move or modify the position of the redo panel?

The panel is always minimized, I have to enlarge it and move my head to bottom left each time: Does anyone know of any modifications or plugins that will allow me to move this window? Or even dock it ...
1
vote
1answer
14 views

I am trying to add a custiom property to an add on but it shows me an error

I am following this video https://youtu.be/XqX5wh4YeRw?t=2451 i have done everything the same way but it does not seem to work here is my code ...
1
vote
2answers
35 views

Bugs with Animation of tank. Blender 2.83 stl

Well, I'm trying to do a tank like in this tutorial :https://youtu.be/q5fjslhomsI 1.There are often bugs with metric system. It just doesn't work properly that good! C'mon I have to make stiffness ...
0
votes
1answer
19 views

Active Keyframe Panel is not showing in the graph editor

I have selected a keyframe in the graph editor and I want to view it's properties. I selected keyframes in the graph editor. Pressed N key and tried pulling out the side arrow. Instead of getting the ...
1
vote
0answers
14 views

Using custom socket types in node tree - can't assign PointerProperty

I am working on a Blender addon based on the node system. I would like to be able to pass my own custom types through the node tree. Currently I can use the following types: FloatProperty, IntProperty,...
1
vote
0answers
14 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 ...
1
vote
1answer
25 views

Missing Settings on Light Point Menu

I am new to blender, trying to edit light and shadow parameters. I came across the following. I had added a light point to the workspace. When I click on it (the light point object), the menu on the ...
2
votes
1answer
117 views

How can I print the string of a parameter from a property?

Let's say I have this custom property fu3dm_model_gender: ...
4
votes
1answer
71 views

Node properties panel missing in compositor

In the compositor, there is the properties panel which allows us to change properties of the nodes added. It is usually retracted and indicated by a small triangle on the top right, as indicated on ...
1
vote
1answer
45 views

How to Keymap a Custom Operator with Properties

I have a custom python file where I setup my keymaps like this: ...
0
votes
0answers
19 views

Can i create an object property for sharing a color value across rendering engines?

We're currently using Blender3D in the GLSL rendering regime only and little on EEVEE lately. Our problem is we frequently need to update viewport and render views with similar values to compare ...
0
votes
0answers
31 views

Objects show as outlines instead of solids

I've recently installed blender and when I open the software the cube in the workspace is not in solid form. It is shown using lines and, also, when I add a new object it is not filled but it is shown ...
0
votes
0answers
16 views

how to call a floating properties window and display the modifiers tab?

Well, what I want is that after a shortcut, a floating window appear with the properties area sowing the "modifier" tab. I almost get it to work. But I have an error. Here is my code ...
0
votes
1answer
57 views

Copy Custom Property and set it as a suffix of an object's name

How to copy selected object's property and set it as a suffix of an object's name? I have 3 objects in the scene, named a,b,c. Each one of them have a custom property named id with a corresponding ...
1
vote
1answer
65 views

How to get Property Panel attached My Panel?

I want to get "Use Count" Panel to attach to My Panel, what should I do? I know its Class is "PARTICLE_PT_render_collection_use_count", as shown below. Hope to get help, Many ...
0
votes
0answers
10 views

FloatProperty setter; default implementation [duplicate]

I'm trying to create a custom property and do some work as the property is set. I previously used the update function; which worked great, except it never got ...
1
vote
1answer
37 views

How do I make the cursor reset to the middle of the object?

I have two objects that were mirrored using the mirror modifier. After I was complete with the object, I separated them to begin rigging. For some reason, the object that was separated still has its ...
1
vote
3answers
211 views

Options Missing in the View Layer Properties Panel

I am pretty new to Blender, although I could not find a similar enough question for the problem I am experiencing. When I select an object in my scene, the materials section on the properties panel is ...
0
votes
1answer
38 views

How can I make color retain its properties behind glass?

Every time I apply a glass sphere around my eye, to give it the circular texture and glossiness, it creates a couple problems. The iris color changes as I put the eyeball into the glass sphere. I've ...
0
votes
0answers
10 views

Finding the object in an update handler on a bpy.types.PropertyGroup member [duplicate]

If you add an update handler to a property applied directly to bpy.types.Object it works great; in you're callback handler self ...
0
votes
0answers
24 views

Smoke and fire problem v2.83.5

Hello I had just recently downloaded the app and i'm having problems with the smoke and fire rendering on an object. I'm able to get "quick smoke" to work on an object but the animation ...
2
votes
0answers
19 views

Polymorthic PropertyGroup

What's the best practice for polymorthic properties? I want to associate a type with an object; Cylinder, Thread, Cube etc. For each type I want properties associated, but as the object can only be ...
0
votes
0answers
21 views

Rain and Splash Effects I can't see type fluid why?

I can't see the same properties types than on the video https://www.youtube.com/watch?v=35bbyAJodEQ 11:38 is it normal on the last blender version and how I can add this property on the domain cube, ...

1
2 3 4 5
10