Skip to content

2017 API dlibrary.vectorworks.ActivePlugin

Dieter Geerts edited this page Sep 24, 2016 · 1 revision

dlibrary.vectorworks.ActivePlugin

Singleton to represent the currently executing plugin, hence 'active'.

Note that this is a singleton in the view of the currently executing plugin script. Be aware of this when changing this class' functionality.

Base classes

  • object The most base type

Properties

  • (get) handle -> vs.Handle -- Will return the instance or definition handle of an object plugin.
  • (get) instance -> 'PluginObject' -- Will return the instance, represented by PluginObject, or None if in definition 'mode'.
  • (get) name -> str -- Will return the name of the menu/tool/object plugin.

Home

DLibrary for VW2017

PREVIOUS VERSIONS

Clone this wiki locally