Questions tagged [properties]

Questions about accessing object properties or attributes while scripting

Filter by
Sorted by
Tagged with
1
vote
1answer
677 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 ...
1
vote
2answers
1k views

Assign Property Value with Message Body

I'm looking for a way to have object 1 assign a random value to property "Gold". If the property value turns out to be higher than 10, I have a Property Sensor to check for that, and if it's true, it ...
0
votes
1answer
39 views

Get all custom properties of an object

It's clear how to set and retrieve custom properties from an object with python, but how do you get all the custom properties that were set to an object ?
0
votes
1answer
164 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
465 views

Use an Empty to control a property

I would like to use an Empty to control color of a material, strength of a light, etc. I know some things can be controlled by Keyframes, but can they be controlled by empties or object positions. ...
0
votes
0answers
2k 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
167 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 2
3