Open Custom Palette on startup
Eduardo 18 Jul 2017
I made a .NET API for nanocad that has a bunch of commands, i wanted to access this commands through a palette instead of calling them in the command line so i made it, the problem is that i have to call this pallet with a command each time i start nanocad. Is there a way to automatically call a command of an external dll when you start nanocad or is to register this pallet so i dont need to call it.
Thanks in advance.
Thanks in advance.
Hellen_V 19 Jul 2017
ISL 19 Jul 2017
Hi Eduardo,
Try to put your palette-showing code into IExtensionApplication.Initialize() method:
Try to put your palette-showing code into IExtensionApplication.Initialize() method:
public class MyCommandClass : IExtensionApplication { public void Initialize() { } public void Terminate() { } [CommandMethod("MyCommand")] public void MyCommand() { } ...