Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [properties]

Questions about accessing object properties or attributes while scripting

85 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
39 views

Blender Dev: Global location to store project properties?

Is there anything more global than a scene that can contain project-related properties that should be saved to each *.blend file? Since a single file/project can contain any number of scenes, where ...
0
votes
0answers
9 views

Finding display state of a dynamic property

There is a BoolProperty p defined in a custom PropertyGroup class; and p is displayed in a panel based on some conditions (say cond1). Later in the code, I need to find out whether p was displayed ...
0
votes
1answer
18 views

BGE animation property?

Is it possible to give an animation frame a property so to say? I want to hold down a button and play the beginning or first half of my animation. Call it frame 1-12. A flipper animation. IF you ...
0
votes
1answer
24 views

How do i display the Lengths of an object in 2.8

How do i show the lengths of objects in 2.8?. For example in 2.79 i could scale a wall or floor and it would display the length on the edges.
0
votes
1answer
55 views

Bring up the operation panel

How do you bring up the operations panel for an object after accidentally clicking into the 3D View? For example when you bring in an cylinder you can set its properties i.e. the number of vertices ...
0
votes
1answer
42 views

Symmetry and Alignment

I'm creating a snowman while watching a tutorial so I got these 2 eyeballs on him how do I make sure that they are on symetrical spots on the huge snowball of the head, and how do I make sure that all ...
0
votes
0answers
8 views

Error message while I trying to rename custom properties

Blender is giving me this error message while I try to rename custom properties.
0
votes
0answers
12 views

Customs boolean property for Material slot?

Is possible register a custom property (boolean) to be assigned to the active material slot? Normally for object property i use : class Property_Settings(bpy.types.PropertyGroup): ...
0
votes
1answer
196 views

How to display and use operator properties in a custom UI panel?

For example, as you can see in the keymap preferences, there are operators that have properties, like this Smooth Vertices: With this little code ...
0
votes
1answer
44 views

Edit custom properties cycles_visibility

After boolean operation with BoolTool addon new line appeared in cycles_visibility under custom properties. After that, object is no longer visible on render. How to remove this line?
0
votes
0answers
31 views

How to save properties of object in linked file?

I have few imported objects from outside blend file. I can add a property to every object (imported or not). But after reloading a file, only property from local objects are saved. How can I save ...
0
votes
0answers
25 views

Explicitly defining property values in popup window?

I have been experimenting with manipulating popup dialog windows to have operators and dynamic UI but I do not know how to work with properties explicitly. I already know how to set default values ...
0
votes
0answers
100 views

update function in build in blender property

When I create a new property, I can add an update function to execute every time it will be changed: ...
0
votes
1answer
97 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
0answers
134 views

Cannot find export vertex colors in the FBX/OBJ exporter dialog

I have been trying to export a model with vertex colors, from a blender model to FBX. (And then to Roblox) But, I cant seem to find the export with vertex colors in the FBX export dialog. This ...
0
votes
0answers
43 views

Camera settings to imitate Samsung Note 9

Hello stackexchange community I wish you all a happy holiday season I would like to know what values , for my mobile phone "Samsung Note 9", i must set in Blender 2.8 Specifications i know Sensor ...
0
votes
0answers
73 views

Edit Custom properties after FBX import ERROR

I have a problem with editing custom properties of mesh, which I import from a FBX, which comes from Blender. When I add a custom properties to an object (for example default blender float), then I ...
0
votes
3answers
188 views

Selecting objects with the same property values (without Python)

I want to assign various properties to objects and then select all objects with a certain set of values for those properties. The objects are graphs from tests (created with CSV Mesh Importer, so ...
0
votes
0answers
538 views

How can I use a boolean property inside of a custom operator class?

Hi Blender/Python users, I am working on an add-on where I'm trying to make an operator class as a button that runs a different set of commands depending on whether custom boolean properties are ...
0
votes
0answers
27 views

Attach object to an area

I have created a Cube with a hole in it and a Cylinder which fits into the hole, but the diameter of the hole is bigger than of the Cylinder. So I want to move the Cylinder without passing through the ...
0
votes
0answers
121 views

RNA warning on EnumProperty

I create some lists using EnumProperty. The lists may be empty, because nothing in the lists. Therefore, I get some warning in the console. "RNA Warning: Current value "0" matches no enum in......." ...
0
votes
0answers
240 views

Property's update function not called

I made a new panel in the N bar that contains a boolean property for which I put an update function, but after adding a debug line at the top of this function I can tell it's never called when I click ...
0
votes
1answer
34 views

Where to find the Animation Properties?

Hey guys so I was watching a youtube tutorial on basic animation (I'm just starting out) and then apparently my blender version is newer than his. So one thing he had was an animation tab in the ...
0
votes
0answers
36 views

Moving armature doesn't change transform data in Properties window

I'm trying to animate a tail wagging. But sometimes (it seems randomly), the data in the Properties window doesn't change along with the movement of the armature. The result is that when I try to ...
0
votes
0answers
196 views

How do I copy one mesh's properties and apply it to another mesh in blender?

In Blender v2.70, I've created a mesh from scratch to serve as a custom head in The Sims 4. However, when I try to use Sims4Studio to import it, it doesn't work because I have to apparently alter one ...
0
votes
0answers
444 views

How to add custom color picker in blender material panel?

I would like to add a custom colour picker for a custom material section. The colour picker should be below the red line in the image: I found a code but this make the colour picker on the "tool ...
0
votes
0answers
67 views

Custom Properties Via Python Don't Display

As of 2.79, custom properties assigned via Python no longer display in the Properties Panel. I've confirmed that the properties are indeed being assigned to the objects (by checking them via a Python ...
0
votes
1answer
266 views

BGE: 6DoF constraint - change in real time

I created several constraints (6DoF) with the following script: ...
0
votes
0answers
144 views

opengl text display of custom properties?

I have a bunch of simple objects with custom properties, e.g. description, comments, etc. I would like to be able to be able to view this information somehow in the viewport attached per each object ...
0
votes
0answers
46 views

How to animate options from Tools panel?

I wanted to add animation to Randomize option that can be accessed via Tools panel. When I click on it and go to the options it provides..(Amount, Uniform, normal, Random Seed) and press 'i' it says ...
0
votes
0answers
104 views

Where did my properties interface/panel go?

(Not the one you get when you key N), the one that has all the texture/world/material properties. I was in edit mode trying to press Shift + Ctrl + Alt + C but messed up and now the panel is just ...
0
votes
1answer
502 views

Action actuator: how to get the “frame property” go back to 1 when the animation ends

I have an action actuator that plays an animation (in "play" mode) and stores the "frame property" in a property called "frame". When the animation ends, I believe the "frame property" should go back ...
0
votes
0answers
721 views

addons User Preference and custom properties

I'm using the addon preferences to store some props (bool, filepath ecc...). But this prop are saved only in the global preferences of blender. I want that some of these props could be saved in the ...
0
votes
0answers
177 views

Custom Properties converted to integers and driver links lost after restart

I have made API defined custom RNA Properties in my Scene automatically added to a selected Object (not the Mesh). But when I save the scene and restart Blender, they are already visible but the ...
0
votes
2answers
17 views

Can't access custom properties of a linked characters proxy rig

I have a rigified character. I added a custom property to the rig object to drive a shape key on the face. It works as expected in the original file: the custom property slider of the rig drives the ...