hello victor....i just completed ur tutorial on vs code + blender setup ....and ur custom addon is working finally...can u give a quick tutorial on the function syntax or starting few lines of code to just set it up like this gp_object = bpy.context.active_object gp_data = gp_object.data # Already Grease Pencil data layers = gp_data.layers but when trying to execute such setup source codes from web ....its just throwing errors!! my goal is to learn stroke automation in 2d animation using this grease pencil feature via python scripting // so i found some source codes like this on github ...but none are working it just says syntax error ....like it isnt compatible with blender 4.4 ...... even this code wasnt working ... import bpy # Create a new Grease Pencil object and add to scene gp_data = bpy.data.grease_pencils.new("GPencil") gp_object = bpy.data.objects.new("GP_Object", gp_data) bpy.context.collection.objects.link(gp_object) # Add layer layer = gp_data.layers.new(name="GP_Layer", set_active=True) frame = layer.frames.new(0) # Create a stroke stroke = frame.strokes.new() stroke.display_mode = '3DSPACE' stroke.points.add(count=2) # Define stroke points stroke.points[0].co = (1.0, 1.0, 0.0) stroke.points[1].co = (2.0, 2.0, 0.0) .....first can u clarify me how to use or what pre manual work is required to setup grease pencil and automate strokes! or can the whole thing be automated with direct python including setup!?? and after that quick clarification .....i would luv to use ur source code for just setting it up...like just for the starting procedure..please!