Questions tagged [properties]

Questions about accessing object properties or attributes while scripting

Filter by
Sorted by
Tagged with
1
vote
1answer
11 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
30 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
9 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
11 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
votes
0answers
21 views

Create a new panel for the DrawFreeHandSpline with the data about resolution/ geometry Extrude & Bevel?

i would like to create a quick simpler panel for the drawspline. So that i can change the" resolution "the " fill mode" and "object-target" of the spline like in the ...
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
22 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
96 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
57 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 ...
0
votes
0answers
10 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
29 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
13 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
43 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
59 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
9 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
25 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
2answers
66 views

Options Missing in 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
18 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
vote
0answers
39 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 ...
0
votes
0answers
15 views

pack addon with custom properties and directories 2.8

I currently have an addon that works fine. It really is a fairly simple file explorer with a preview, which takes the path of the elements to find from the directory where the script is. my goal now ...
1
vote
0answers
30 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
123 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
134 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 ...
0
votes
0answers
29 views

Get name of the opened file in the Text Editor [duplicate]

I need to get name of the opened file using blender script. Note: I need to get name through my addon, not through Blender Text Editor Something like that: bpy.data.texts["Text12"].name (...
1
vote
0answers
26 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 ...
0
votes
0answers
22 views

Animation Nodes Custom Properties not updating in Render

rel: Custom Properties value in Animation Nodes Hi! I was really amazed to be able to control my animation nodes by custom properties, but while they perfectly update in the blender preview, they wont ...
1
vote
1answer
56 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
29 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
16 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
58 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
612 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 ...
0
votes
0answers
31 views

Boolean Property as a Button [duplicate]

How do I put a Boolean Property as a button? What I mean by that is a clickable button that turns on/off every time you click it.
1
vote
1answer
35 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
0answers
42 views

Properties Panel doesn't exhibit Object creation Popup

When working with an N-Panel addon, a basic row.operator button, when pressed, exhibits the primitive creation parameters popup (add Cube in this example): The N-panel (where it works as intended) ...
1
vote
1answer
39 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
131 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
121 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 ...
1
vote
2answers
65 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 ...
0
votes
0answers
55 views

Armature custom properties?

Custom properties added to the armature tab do not appear on the item tab of the 3d viewport side bar, unlike the object tab and the bones tab. I’m curious about how to check armature custom ...
0
votes
0answers
6 views

Smoke is not showing up in Properties Tab

Smoke isn't showing up in my properties tab in Blender 2.8, what can I do?
1
vote
1answer
28 views

Replicate value stored in object into properties of new one

I would like to duplicate, for example, a cylinder with its number of vertices stored in its properties, and tweak this value if needded. To do this, I click on a gizmo, and a new cylinder is created,...
3
votes
1answer
61 views

Workspace custom property doesn't work as driver's variable

I've tried to use a workspace's Custom Property as a variable for a Driver, but it looks like the path to the Custom Property is broken. Is there anything that needs to be added to the properties path?...
0
votes
0answers
38 views

How to create a PointerProperty to bpy.data.node_groups?

I would need to store many properties in bpy.data.node_groups, and I was thinking of registering a pointer to a class, but I don't understand how to do it and if it's possible. My classic way of ...
1
vote
1answer
66 views

How to get Properties Editor tabs context for the active object?

I'm trying to find the available Properties Editor tabs of the active object. bpy.context.space_data.context (when accessed inside the Properties Editor) indicates ...
0
votes
0answers
26 views

Problems with Blender 2.82 console failing to display relevant events

I am new to Blender scripting and am encountering some headaches. With debug mode set to 'true' the console is failing to display info when I add a new material or change a material in the 'Material ...

1
2 3 4 5
10