Python Visual Selector Tag

Introduction

Python code can be executed when a hotspot is clicked.

../../_images/python_visual_selector_tag.jpg

See also

The important Threading Information.

Methods

main()

Override - Called when the user presses the hotspot

Variables

While the main function do not have any parameter, two variables are available only in the main function:
  • doc: BaseTag : The BaseDocument who host the tag.

  • op: BaseObject : The BaseObject in the link field. It can be None.