Post #683: Hi roaoao,
📋 Metadata
- Author: a_guy73
- Date: 2017-05-21 19:43:27
- Type:
question - Quality Score: 6/10
🏷️ Tags
macro python-scripting intermediate unsolved
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
Hi roaoao,
I’m trying to work out how to access the settings from the grease pencil “stroke quality” panel but haven’t had any luck. I already have a button to trigger “draw” but I’m trying to create another button that will prepare grease pencil to draw with these settings:
bpy.context.scene.pen_smooth_steps = 3; bpy.context.scene.pen_smooth_factor = 0.6; bpy.context.scene.pen_subdivision_steps = 3
how do I build the command for that?
Thanks.