Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Ares ARES commander provide .NET API to author third party Plugin Software for ARES Commander.

...

    • Add references from Solution Explore of TD_Mgd_x.xx_xx*.dll and FxCoreMgd_x.xx_xx.dll by Browsing ARES installation folder.
    • Developer can see available NameSpaces,Classes,Methods, Properties in each assembly using Object Browser

                 Image Added





  • Rename Class1.cs tp PluginCommands.cs it will change class Class1 to class PluginCommands like below.


  • Defining a command use Teigha.Runtime namespace to access CommandMethod method atrribute as below and add a method i.e AnyFunctionName having this attribute. It define MySampleCommand command which can be executed on ARES Commandline.
  •  
  • The above procedure is similar to all type of in-process plugn.
  • Build the sample project is will generate PluginCommans.dll or <YourProjectName.dll>
  • Run ARES and type NETLOAD on command line it will prompt to load the plugin dll, browse PluginCommands.dll and Load, message of successful loading will appear on command line.
  • Run MySampleCommand AnyFunctionName method will be executed. 

Accessing Application Object

Image Added