I'm about to write a script that allows to make "true" the options (Freestyle in Blender):
Here is the python script I 'm writing to try to use options Script python
import bpy sceneR = bpy.context.scene freestyle = sceneR.render.layers.active.freestyle_settings linestyle = bpy.types.FreestyleLineSet sceneR.render.use_freestyle = True sceneR.svg_export.use_svg_export = True freestyle.use_smoothness = True freestyle.use_culling = True linestyle.select_by_visibility = True linestyle.select_by_edge_types = True linestyle.visiblity = 'RANGE' linestyle.select_silhouette = True
I found it in the window "info" Blender indicating each action done in Blender
my problem is that when I run the script it that nothing happens , and options (circled in red on the first picture) are always off or False .
Do I put the wrong way , is there a different way to activate this option in a script?