Questions tagged [properties]

Questions about accessing object properties or attributes while scripting

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Custom action when property is triggered [duplicate]

I want to make a slider as a property in a panel, that when I change its value, a whole group of keyframes that I inserted will be moved to particular value. Something like: basic value: 0 ...
0
votes
0answers
15 views

Custom property for Area

For what type of bpy.types do I need to add my custom property to have it for any window Area or Region? I tried bpy.types.Area,...
0
votes
0answers
10 views

How could I access a game property from GLSL?

I would like to be able to access the default props in the bge from the general shading language. Is this possible? If so how is it done? By default props I mean the game engine variables you assign ...
1
vote
1answer
13 views

Why is the string property added to f-curve read-only

When I create a string property for the object type, I can modify that property in the active object. But when I create another string property for the f-curve type, it said it is read-only. The ...
0
votes
0answers
17 views

How do I open the original object properties window when i create a new object? [duplicate]

When I create a landscape I get a property menu to define what kind landscape I want to create. When I click on something else (right click shade smooth for example) that menu goes away. I want to ...
1
vote
0answers
28 views

Can I add a StringProperty to a modifier?

Seems I can not register properties properly like I normally do with other types. ...
1
vote
1answer
33 views

how to change user preference in blender version 2.81

i just downloaded blender 2.81. I'm very new to blender. I'm using blender on a laptop and I know that some settings are different if you don't have a mouse (which I don't.) I've learnt online that ...
1
vote
1answer
16 views

Vertex color value has weird offset in value when assigned from script

What might explain this difference in values? ...
0
votes
0answers
21 views

How collection properties are to be used with Blender

I'm trying to get collection properties working. I have looked at examples at Blender documentation, but maybe the API has changed a bit, or I am just getting it totally wrong somehow. This fairly ...
4
votes
1answer
382 views

how to disable automatic UV generation?

This dyntopo popup really gets into my nerves. Everytime I create a primitive form, Blender creates automatically an UV map. Is there some way to disable the auto generation?
2
votes
1answer
77 views

(Blender 2.8) Smoke not showing in Physics Properties

The smoke physics is missing and I don't know how can I fix that. Thanks for helping me ! Here's the screen of the physics properties.
1
vote
1answer
18 views

How do I add custom property to object in bpy?

How do I add a new custom property to a material of an object in my Python script? In an earlier version it was possible to use ...
2
votes
0answers
20 views

What UI panel property type is this and how can I create my own (sliders?)

Hello, I wanted to add this custom property slider from an object's custom property tab, but so far, I´ve only found out that it will display numbers, but not that "slider" bar, I need. This is a ...
1
vote
1answer
27 views

Modal Operator Not Updating Driver(s)?

I've been creating an add-on for Blender but discovered a problem. For my add-on, I need to be able to get drivers to update in realtime while a Modal Operator is running. Since the add-on code is ...
3
votes
1answer
30 views

How do I get a proxy object dimensions?

I'm trying to get the dimensions (bounding box) from a linked object in python, but all the methods to commonly get the measures give me a zero vector. ...
0
votes
1answer
28 views

How can I create instances of PropertyGroups with independently editable variables?

I'm currently making an addon to randomize path variables, and need lots of groups of variables that I can independently edit. I've been trying to get Property Groups working with this but can't ...
0
votes
0answers
13 views

Custom properties on the armature tab?

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
1answer
21 views

How can I add more than one custom property to an object?

When I press ADD, the same property appears duplicated and I cannot see the properties list. I am working in a plane design for Real Flight Simulator 8.
0
votes
1answer
27 views

How to assign PointerProperty in Operator through UI?

I have multiple instances of class LayerSettings(bpy.types.PropertyGroup), which is simply a group of variables. These are stored at the scene level (they're a ...
7
votes
1answer
760 views

Make an object infinitely far away?

I have a moon object and I'd like it not to be affected by parallax for the camera. I want it to look as if it's infinitely far away, without just moving it really far away in my scene. Is this ...
1
vote
1answer
57 views

Using 'Float Property Layers' value in Node Editor (similar to Vertex Color)

I have an object called origin with 272 meshes/faces and Float Property Layers (called ...
2
votes
1answer
95 views

How to display the “animate property” diamond keyframe insert button (2.8x)

I am making a custom panel for a rig and I would like to be able to easily insert keyframes on my rig properties the same way we can already do in the default properties panel. I'd basically like to ...
1
vote
1answer
42 views

Is there any way to override UILayout.prop tooltip?

I have a collection on boolean properties I want to display in a node. BoolVectorProperty isn't really applicable because I want to be able to change the size of ...
0
votes
0answers
30 views

How to get an element in a EnumProperty?

I would like to get only 3 third element of an EnumProperty, is a string: myEnum: EnumProperty (name = "Enum", items = searchCallback) ...
0
votes
0answers
14 views

Is it possible to avoid interaction in the “UI” panel of a FloatVectorProperty?

I have a FloatVectorProperty that refers to the current scene. But I would like the panel to avoid the popup when clicking on the color shown in it. Is there an option that denies access and therefore ...
2
votes
0answers
19 views

Link Object's property to Actions

Is it possible to enhance the animation(where all animations are instanced as unique Actions from the Nla Editor) by changing the object's property (like material color etc) whenever a particular ...
1
vote
2answers
20 views

I've somehow got rid of my navigation bar so that it no longer appears in layout mode, which is a pain

I've had this happen a few times, and I can't work out what I've pressed. Now any time I want to use the navigation bar I have to switch over to a different workspace (I think I mean navigation bar: ...
0
votes
0answers
17 views

How to copy Color Management settings of Render properties from a blend file to other blend file

Currently the only way I know is to set a value in an empty blend file and start there or append a scene from another blend file. But I hope there is a more convenient way. Is there a way or add-on I ...
0
votes
1answer
107 views

Blender 2.8: Camera Lens Shift and Background Images Offset

Blender 2.8 offers the possibility to add camera background images (Camera > Object Data > Background Images). I have multiple cameras in my project with different background images. The background ...
0
votes
1answer
33 views

Moving object to exact location rotation of other object

I have two object one is in a slightly different location and rotation than the other. I would like to move the first object to the exact location rotation as the second object so I can animate ...
0
votes
0answers
20 views

Change a Game Property in the Blender Game Engine

Hello can I change a Game Property with an sensor? For example I have a cube with the a Property called Cube. The Property Value is 1. Now I would like to change the Property Cube to Property Sphere. ...
1
vote
1answer
45 views

How to merge two faces by creating a third

I'm very new at blender and sometimes I get stuck in stupid problems, but I want to know how to merge two faces by creating a third as a "bridge". Here's a pic where I'm stuck I want to merge these ...
0
votes
0answers
12 views

Properties Panel missing many options [duplicate]

How it should look: The above picture is a startup file that is working perfectly! But the file which I am working on is looking strange! And it is actually: When it was a new file, it had all the ...
1
vote
0answers
14 views

Buttons on a custom properties dialog

I made a simply addon for myself that shows a property editor dialog. I wonder if it's possible to add several buttons on it that'd change value for Index property? ...
0
votes
1answer
15 views

what file to put float property and properties class blender 2.8

Thanks in advance for any help :) Premise: I have three .py files for my blender addon: 1. init.py 2. panel.py 3. quadfaces_op.py I'm trying to make a float slider that controls the face and shape ...
0
votes
0answers
7 views

Properties Panel Turned Very Very Tiny [duplicate]

My Properties Panel (please see attached screen cap) just suddenly turned really small - so small I can't read it! I must have clicked some button by accident. If I open any other .blend file, the ...
0
votes
0answers
21 views

How to StringProperty to bpy.context.object.data.vertex_colors?

I was wondering, if it were possible and how, I was looking at the bees but this is not present in bpy.types so I don't really know how and if you can add a StringProperty, to this ...
3
votes
0answers
29 views

Using texture data from texture properties as node data in Cycles

either I'm clearly missing something or I misunderstood the concept, but I hit a wall with something that should be pretty easy (provided it is already implemented in Blender). I'm basically creating ...
0
votes
1answer
36 views

Iterate over custom properties without searching?

If I understand the way it works, accessing a property by string (data["propname"] = 0) requires the system to search for it. Iterating over all of the properties ...
0
votes
1answer
112 views

Pass collectionProperty through operators (Blender 2.8)

I want to pass some created objects by an operator to another operator for modifications. I tested with CollectionProperty, but can't pass the collection from the first operator to the second one: ...
0
votes
3answers
25 views

How to use properties of bevel tool?

Is it possible with Bevel tool to type desired values directly, instead of applying it only by mouse movement?
0
votes
1answer
19 views

Hide object in a specific area

I have two 3D VIEW areas, and I would like to hide an object only from one of these.
0
votes
1answer
31 views

How to draw a node group in a layout panel using python

I just made that node group and i just wanted that this node group should appear in Properties panel in 3d view which appears when 'N' Key is Pressed this should look like this in materials tab can ...
1
vote
2answers
72 views

How to track an unknown number of objects in a multi-module add-on

Trying to initialize an empty list that will later be manipulated by operators on button click (add, remove, get). The list can either be populated with objects or object location tuples. Pseudocode ...
0
votes
0answers
11 views

Property set/get example for operator needed [duplicate]

Still trying to wrap a property into my Addon where I can dynamically control the values of the resulting variable. Take the default operator_mesh_add example and alter the definition of the width ...
0
votes
1answer
94 views

Get value of FloatProperty

Probably this is a very newbie question, but I am having issues trying to access the value of a FloatProperty. I have something like: ...
0
votes
0answers
10 views

Addon Properties for Material, Objects etc

we are working on a Addon to import W3D files used in the old CnC, and Battle for Middle Earth games. In order to import these files properly we have to add some custom properties to the object and ...
0
votes
0answers
18 views

Can you change the sampling settings per object?

I am wondering if it's possible to change the sampling or otherwise the render quality per object in a scene. The use case is if I know an object will appear essentially the same with lower sampling ...
1
vote
1answer
65 views

Blender 2.80 - Why can't I see Archimesh' properties?

I'm trying to create a room on a new installation of blender... When I press the N Key, I see the following on the properties window... The Teansform properties are showing, and the global properties ...
1
vote
1answer
16 views

Animate Glass BSDF Index of Refraction over Time?

Is there a way to animate the index of refraction of a glass material so that it will change from say 1.1 at frame 10 to 1.8 at frame 30?

1 2 3 4 5 8