Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Python is an interactive, object-oriented programming language. In Blender, it is used as a general-purpose scripting language and to create add-ons to extend Blender's functionality.
-2
votes
1
answer
2k
views
How to toggle Object visibility driven by armature layer visibility using python?
@Jerryno
I want to hide or show mesh object depending on the visibility of the layer
I adapted your code. It's not working why ?
On visibility of armature layer[0] the object ie Cube should be
…
1
vote
2
answers
333
views
How to render Lattice all shape keys to images using python?
I have created many shape key in lattice which i pin one shape key at a time and render it and save it as a image. How do i iterate through shape keys of lattice and render them to PNG file.
1
vote
How can output of "copy rotation constraint" be accessed?
@ batFINGER Thank you
I wanted it to know bone constraints resultant value and with a bit fidgeting batFINGER code i got this.
If some one can generalize this code to work for any object, bone etc t …
1
vote
2
answers
608
views
How can output of "copy rotation constraint" be accessed?
Q2: Can they be accessed through python? …
1
vote
1
answer
833
views
Script to add and remove F-Curve Modifiers to multiple selected f-cruves
I want to apply 'Cycles' modifier to multiple selected f-curves to create a walk sequence. I want to do this with a script. How can I do this?
2
votes
Accepted
Script to add and remove F-Curve Modifiers to multiple selected f-cruves
import bpy
D = bpy.data
# We can access by action name
fcurves = D.actions['Goon_proxyAction'].fcurves
for f in fcurves :
# TO add
m = f.modifiers.new('CYCLES')
#To remove
f.modifiers. …
14
votes
3
answers
4k
views
Is it possible to render only keyframes from Dope-sheet?
I want to render only keyframes from Dope-sheet without the in-between frames. Effectively creating hold of last keyframe till there is new keyframe by re-saving (not re-rendering) the previously rend …
4
votes
1
answer
2k
views
Why my custom enum property becomes an integer property after restart blender?
I try to add custom enum properties to a bone in order to change sub-surf levels and masking vertex groups of a mesh. Every time I run the script, it assigns the property like the following:
Enum pr …