Questions tagged [properties]

Questions about accessing object properties or attributes while scripting

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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.
1
vote
0answers
41 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
66 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
54 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
49 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
43 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
41 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
41 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
91 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
49 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 ...
3
votes
1answer
416 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
147 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
23 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
55 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
47 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
42 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
128 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
24 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
48 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
136 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
120 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
193 views

How can I get the full path of the selected file from the file explorer?

I have tried in several ways and the only one that worked for me was through a modal that extends from ImportHelper, however I would like to do everything from the ...
1
vote
1answer
183 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
20 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
38 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
32 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
85 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
98 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 ...
1
vote
1answer
89 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
517 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
42 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 ...
2
votes
0answers
26 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
26 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
vote
0answers
185 views

Python- Panel and Redo Panel Hooks and Method

i'm using 2.83.4 and if someone could point me to a tutorial on hooking controls from a panel and how to get the redo panel to work right, that would help immensely! HalfKill is basically the same as ...
1
vote
0answers
54 views

Checkbox array functioning as one. How do you separate the checkboxes

I trying to see if this is possible. I want to have the ability to choose which frames to re-render with checkboxes. First issue I am having is that the checkboxes active and de-active together. I ...
3
votes
1answer
232 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 ...
2
votes
1answer
152 views

How to make a growing unique index (IntProperty) of the objects?

I would like to assign a unique Immutable index of the objects that are added in the scene. I want this unique index to be stored in an object type property (Relative to the object) Obviously the ...
1
vote
0answers
27 views

How do I make a hotkey that changes a property? [duplicate]

In my addon (Blender 2.8) I would like to have a hotkey that changes the value of a Property (to be exact: a BoolProperty which is a part of a PropertyGroup). I have found a way of doing this for an ...
1
vote
1answer
274 views

Blender python - edit custom property of a specific object [duplicate]

I am new to python. I would like to get a custom property of an object (not context.object) in a scene, for example "Object" (where my custom properties are assigned) and edit them via my ...
1
vote
0answers
77 views

'prop_menu_enum' dropdown gives random results, when passing generated List to the scene enum

Blender 2.83.1 LTS under Windows 10. I'm trying to make a Generalised preset tool, which reads in Json files and ultimately writes (to learn a bit more). I get odd results in my 'prop_menu_enum' when ...
1
vote
0answers
24 views

Using Space Mouse Pro on Google Virtual Machine

I'm trying to set up my Space Mouse Pro to work with my nvidia-gaming-windows-server-2019-4-vm on Google Cloud. I have managed to connect it using USB Network Gate and it is detected by Windows Server,...
0
votes
1answer
102 views

Why can't I display an EnumProperty in a UIList?

Actually, I know how to "insert" or "add" custom properties into a UIList in blender 2.8. But actually I'm stuck with enum and collection properties. I don't know why I can't ...
0
votes
3answers
2k views

Make an object Always face the camera, and always be upright?

So I'm planning a new portfolio piece, and for it to turn out how I want, I need some help with constraints. There is going to be a star that always faces the camera, and that much I figured out. The ...
1
vote
1answer
42 views

How to check for an operator property

Trying to modify this to show up in the keymap instead of in toolsettings https://developer.blender.org/D6322 Creator says it was done as a tool setting so it can know when to draw facedots in xray. ...
0
votes
1answer
42 views

How to use multiple dots in idnames

In add-on operators, you are required to give an idname to each operator. Commonly, it is category.operator. This results in calling the operator with ...
2
votes
1answer
326 views

Accessing nodes in a node group to draw float property in panel

I would Like to access the position of the element of a color ramp and directly draw that in the panel as a Float Value Slider so whenever the value in that slider is changed it updates in the color ...
0
votes
0answers
274 views

Drawing Float Property

I needed a Help in Drawing a Property Group, I created a Color ramp in Line 78 and needed Control for the Slider and for that I assigned this to the position_control in line number 85. and I wanted to ...
3
votes
2answers
205 views

How can I display a FloatVector without it being editable by the user?

I am writing a python script that takes some user input in the operator and does a calculation. The result is three floats, which I would like to display in a nice form like FloatVector but I don’t ...

1 2
3
4 5
11