Skip to content

Doesn't seem to be fully working for me, but panel and options will load #7

@jacobhalton

Description

@jacobhalton

This seems like an amazing addon, but it's giving me some errors

When I load a script, it doesn't seem to do anything if I click the button. This script works if I run it from the regular scripts panel.

image

When I try to select the panel preset, it gives me an error:
image
image

I'm on an M1 Mac, Blender 3.5 if that makes a difference

This is the script I'm trying to run:
image

import bpy

# Replace "Gpencil" with the name of your Grease Pencil object
gpencil = bpy.data.objects["GP_Template"]

# Copy the Grease Pencil object
gpencil_copy = gpencil.copy()
gpencil_copy.data = gpencil.data.copy()

# Set the location of the copied Grease Pencil object to the 3D cursor location
gpencil_copy.location = bpy.context.scene.cursor.location

# Paste the copied Grease Pencil object
bpy.context.scene.collection.objects.link(gpencil_copy)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions