Tag Change Script Store Annotations

I am looking to automatically store an annotation through tag script on value change, but I am not having success. Currently I am just using a Boolean value to test the script out.

When I perform the scripting through the script console it does place the annotation in the annotation table.

Any advice on how to get this to work with value change.

I think I answered my own question. It looks like in Tag Scripting it needed to be indented while script console did not.

Yes. the colon at the end of the def line is a clue to the start of a section. An outdent back to column 0 signals the end of the function and Python requires at least one line inside a function.

1 Like