|
|
|
Plugins simply
derive from AddInPlugin (in the Plugins namespace).
|
|
Need to define a
couple of attributes:
|
|
The plugin name, and
the developer ID. The combination must be unique. Here, we are using the
Autodesk identifier. You can apply for your own developer identifier via the
ADN programme to avoid conflicts with other plugins. Same identifier is used
across all Autodesk products.
|
|
Couple of optional
attributes are specified here too. A display name for the plugin, and some
tooltip text.
|
|
|
|
AddInPlugins must
implement the Execute method, which is called when the user clicks on the
button. In this case, the parameters will be empty. Plugins can also be
executed through Automation or the command line, and in this case we can pass
in additional arguments.
|
|
|
|
Inside Roamer, the
return code is ignored. When run on the command line, is returned back. (???)
|