We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 250190b commit 3ccc03dCopy full SHA for 3ccc03d
docs/Plugin_API.md
@@ -50,3 +50,13 @@ Managing the descriptor
50
-
51
52
You can load/write a json string from/to the plugin descriptor
53
+
54
+The boolean argument is the bPluginTypeEnabledByDefault field (it is the 'Enabled' tick in the plugins menu of the editor)
55
56
+```python
57
+# get the current json descriptor of the plugin
58
+json = paper2d.to_json(True)
59
60
+# load a json in the plugin descriptor
61
+paper2d.from_json(json_blob, True)
62
+```
0 commit comments