Skip to main content

All Questions

0 votes
1 answer
464 views

How to set up driver via python script between Custom Properties of objects?

I want to set up drivers: from Custom Properties of a Camera to Custom Properties of selected object. Based on a script from 6 year old post: How to put together a driver with python, I manage to ...
evilferber's user avatar
2 votes
1 answer
1k views

How to code min and max values for custom property to selected object?

The following script creates Custom Property "TheNameOfTheSelectedObject_MyFloat" to the selected object, but it doesn't have "min" and "max" values: ...
evilferber's user avatar
1 vote
1 answer
98 views

I want to define some properties for an object by myself

...
P. Scotty's user avatar
  • 321
5 votes
1 answer
315 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. ...
Jorge Frias's user avatar
5 votes
1 answer
2k views

How to make my prop search show the objects in my scene?

I have a simple object selector using a prop search. At the moment it runs but doesn't show any of the objects in my scene. This is what it looks like: How can I get that to show all of my objects? ...
mr-matt's user avatar
  • 1,200
2 votes
1 answer
1k views

Why do I get a type error when trying to name a newly created object?

From a script, I create a bunch of circles with bpy.ops.mesh.primitive_circle_add() and I need to name the newly created object. But I get a Type error message at ...
Michel's user avatar
  • 46
5 votes
3 answers
2k views

Scripting - How to create a game property?

I have a bunch of objects and need to create some common properties to all of them like this ...
rraallvv's user avatar
  • 4,561