Code example: Draw symbol to indicate location of bolt
This code example draws an arrow in the direction of the slotted bolt. User has to pick a bolt and a point where to insert the symbol. You are provided with a symbol "BoltDir", but other symbols can be used as well. You can also define the height of the symbol in the plug-in dialog.
After downloading the TSOpenAPIExamples package from GitHub (button above), find SlotPlugin example at \Drawings\Plugins\SlotPlugin.