Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [properties]

Questions about accessing object properties or attributes while scripting

1
vote
1answer
39 views

Create a tree of properties?

My add-on acts upon a hierarchy of data (a tree). I am not sure how best to represent this hierarchy as properties to expose the data to the user. For simplicity, let us define an example: say that ...
0
votes
0answers
7 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
46 views

register group of properties 2.8 [duplicate]

I'm updating my addon to 2.80 and I'm stuck with the new register class system. I try to follow the answer here but I'm not good enough as a coder to understand the solution. The problem comes to ...
1
vote
1answer
26 views

How can make the state of a boolean property relative to the 3d view area?

I need to keep unique boolean properties attached to screen area (view 3d) which may have at the same time different states depending on the context view area, like propertie lock camera to view or ...
0
votes
1answer
49 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
21 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?
2
votes
0answers
30 views

One shared material with different custom property for each object

I'm trying to procedurally generate a scene with several objects (cubes for now!) sharing a single material, but appearing and fading out at different times. So far, I have been able to place the ...
0
votes
1answer
16 views

Is there a way to project field of view lines outward to look for camera overlap?

I am configuring a camera arrangement in a room for a MoCap system. I would like to know beforehand whether or not every camera will have at least one overlapping camera FOV over the volume in which ...
0
votes
0answers
11 views

why does my world property look diffent from this one? [duplicate]

Someone was helping me with ambient light and showed me this from 2.79 and mine looks like the second picture. Why?
0
votes
1answer
38 views

How to use CSV values to drive object scale?

CONTEXT: I am trying to create a 3D Data-Viz project that will take values from a CSV file and use certain values to drive the Z-scale of simple cubes that will stretch vertically as a value gets ...
1
vote
1answer
26 views

How to register a single property (not a property group) in blender 2.8? (Python API)

How to register a single property (not a property group) in blender 2.8? My attempt This is what I am doing at the moment inside my addon __init__.py: ...
1
vote
1answer
19 views

Take current rotation or coordinates as zero?

Let's say I have object rotated at 19 degrees and I want to keep current rotation, but I need to see 0 in rotation field.
0
votes
2answers
46 views

Can't see Physics tab in Properties Panel in Blender

strong text I have Windows 7.Blender version is 2.79 and I can't see any tab after the wrench icon in Properties Panel.
0
votes
0answers
27 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
1answer
42 views

Copying PropertyGroup values

I'm trying to make a configuration dialog, which prompts the user for some options and can then be committed or cancelled entirely. The dialog is opened from a node. I would like to copy the existing ...
1
vote
0answers
56 views

How i can fix pink in my reference pictures?

In the photo indicated all the defects that I encountered Incorrectly display added references Can't update reference paths Yesterday made references and a day later, the Blender is not showing the ...
0
votes
0answers
18 views

Properties in the panel its not working for some tools? [duplicate]

i cant click in the buttons to edit or change the properties of some tools and actions like this one shown there which means this is not happening with only this addon, also some tools properties of ...
1
vote
3answers
42 views

Detach Individual Settings/Properties Tabs as Small Windows?

Is there any way I can detach individual settings tabs to be their own windows in Blender 2.8 rather than it being stuck within the interface? Thanks.
0
votes
0answers
15 views

How to access add-on properties? [duplicate]

What I mean is when I add an add-on (in this particular case Tree generator, but its almost all add-ons problem), I can tweak it, but if I switch to another object and then return to the generated ...
0
votes
0answers
19 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
1answer
25 views

Why can't I move some of the objects in this model?

I recently downloaded this model of a car. This model consists of several objects. For some of the objects (such as "Neumatico"), I can change the location of the object using the Python Console with ...
1
vote
0answers
41 views

Changing properties to effect all objects in scene

How do you change the value of all properties among objects that share the same property? Warning this code does not work, just an idea. Example: ...
1
vote
0answers
66 views

How can I change an object's color through its color property?

Usually I change an object's color by assigning a material to it. But I also noticed that objects have a color property which can be modified in the user interface with Properties -> Object -> ...
0
votes
0answers
53 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: ...
1
vote
1answer
107 views

Baking camera property drivers to keyframe

I know its possible to bake the values of drivers to keyframes using Object > Animation > Bake Action but is there a way to bake a driver that is controlling ...
0
votes
1answer
54 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
1answer
23 views

can't read custom property from linked material using python

I try to access my materials custom property's value using python. I use the following line of code to do that: ...
0
votes
0answers
87 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
1answer
24 views

Why does the 'energy' field on my lights keep disappearing (2.8 beta)?

Noob question: I notice that sometimes the properties display for my lights has an "Energy" field which can adjust the brightness, and sometimes it doesn't -- even for the same light object. Have ...
2
votes
2answers
534 views

How do I register 'Scene' properties with Python in 2.8?

I'm currently udpating some 2.7x script for 2.8. Everything is going fine except for one thing: Currently the script uses a class to store some properties like so: ...
0
votes
1answer
39 views

Searching for text in the properties panel

I would find it useful to be able to search all of the tabs in the properties panel for the label text. So for example I could search "mist" and have the tab highlighted that include the word "mist" ...
0
votes
1answer
185 views

How do I pass an argument to an operator that is called inside a panel?

I would like to be able to pass aarguments to operators that I am calling from panels/buttons but I do not know how to do that. At the moment I use "global" variables but they tend to make the code a ...
0
votes
1answer
43 views

How delete a pythom list from scene ID properties?

I created a list using this method: ...
0
votes
0answers
30 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
50 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 ...
2
votes
1answer
30 views

Render panel changed?

Where did everything go? No "Feature Set" dropdown No "Device" dropdown [CPU/GPU] No Motion Blur, Light Paths, etc
0
votes
1answer
121 views

Finding the source for “API Defined” custom properties

It seems that I have a couple plugins automatically creating custom properties with API Defined values on every object I make. Now that I'm starting to make drivers ...
0
votes
1answer
74 views

Why can't I collapse the screen?

I tried to collapes the screen by pulling the thing onto the new screen. However, it isn't doing anything? I don't know why not. I also can't open the properties tab. When I push "n" it doesn't open ...
0
votes
3answers
119 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 ...
3
votes
1answer
215 views

Python with Blender: Using EnumProperty the dynamic way

I want to use the EnumProperty the dynamic way. I've got two dialog boxes. In the first one I'm asking for database parameters and in the second one the user has to ...
1
vote
1answer
222 views

Can't zoom where I want in scene

I'm new to Blender, so I'm stumbling around. Sometimes when I open a project, I can't zoom into what I want. I can zoom out... way outside the model (like an apartment), but when I zoom inside it, I ...
1
vote
0answers
54 views

Is there any way to register a callback for a bpy.prop undo event?

Is there any way to register a function that gets triggered on a property undo event ? Just like you can register a function for property update, get, or set events. And btw, why properties ...
0
votes
0answers
30 views

Editing and animating properties of multiple objects

So, I have a shattered figure using cell fracture and now I have a lot of objects. My question is how I could animate a propertie like visibility of all the objects at once, because doing it one by ...
0
votes
0answers
366 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
1answer
38 views

Pass dir.path to a diferent script

I'm building an addon which is a collection of scripts, and I have my UI coded as one of this scripts. On of my tools (script) requires a user input, in this case a folder path, but I don`t know how ...
1
vote
1answer
171 views

Missing properties in properties window

Hi guys, I don't know how it happened, it might be some shortcut that I don't know about. Everything is okay when I open up a new project but when I load my previous file it looks like that. Also, I ...
0
votes
0answers
20 views

Grouping bpy.props together, and/or using .name

You can check it out in the add-on HERE, but I've been working on a road generator add-on and have hit the point where I need help on some things. How do I group bpy.props together so I can iterate ...
1
vote
0answers
31 views

Dynamic toggle list

I'm trying to create a Panel to control showing and hiding a set of objects and their children. Creating a toggle to update an item's visibility is no problem, but I can't figure out how to avoid ...
0
votes
0answers
24 views

Good practice to develop Blender Addon : delete objects and customized PropertyGroup

I need to generate a serie of scene based on some parameters that I saved on my computer (required: I cannot use .blend.. ) Thus I load thoses files, one by one, and between two loaded file, I need ...
0
votes
0answers
21 views

Proxy targets get messed up with custom properties

I'm not sure if this is a bug or that I am doing something wrong. Let me sketch the situation. In a library file I have an object with a custom property driving shape keys. When I link the cube in my ...