Replies: 1 comment 1 reply
-
Not done yet. :( Hoping to work on it soon. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ArmorPaint 1.0 alpha-6246a99, Windows
Issue description:
Looking for some solid documentation on scripts and plugins so I can create something. I've been attempting all sorts using the hello_world example. And whilst I can get a nice UI there is no functionality because my code doesn't work.
Steps to reproduce:
My code to try and add Layers and Groups from a template quickly:
let plugin = new arm.Plugin();
let handle1 = new zui.Handle();
// Function to create and add layers
function addTemplatedLayers() {
let project = arm.Project.get();
}
plugin.drawUI = function(ui) {
if (ui.panel(handle1, "Add Templated Layers Plugin")) {
if (ui.button("Add Templated Layers")) {
addTemplatedLayers();
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions