Skip to content

Adding macro property to custom python script #1256

Answered by WarmUpTill
DVark09 asked this question in Q&A
Discussion options

You must be logged in to vote

how do I add macro properties to conditions/actions via the current API?

Unfortunately, currently the scripting API does not expose a way to register macro properties.
It only allows you to directly modify variables you have defined.

So you can do something like this from within a script:

I will try to add the option to register macro properties as well when I find the time.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@DVark09
Comment options

@WarmUpTill
Comment options

@DVark09
Comment options

Answer selected by DVark09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants