Parameters with braces in python
Posted
by Leif Andersen
on Stack Overflow
See other posts from Stack Overflow
or by Leif Andersen
Published on 2010-06-09T21:49:09Z
Indexed on
2010/06/09
21:52 UTC
Read the original article
Hit count: 284
If you look at the following line of python code:
bpy.ops.object.particle_system_add({"object":bpy.data.objects[2]})
you see that in the parameters there is something enclosed in braces. Can anyone tell me what the braces are for (generically anyway)? I haven't really seen this type of syntax in python and I can't find any documentation on it.
Any help is greatly appreciated. Thank you.
© Stack Overflow or respective owner