Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I tried to write a simple program in c#.net for autocad 2010.
I build and loaded the .dll file but not able to access the command.
When i type tst in command prompt, it prompting unknown command.
Please help me how to solve this.
using System;
using System.Collections.Generic;
using System.Text;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Geometry;
using Autodesk.AutoCAD.EditorInput;
using System.Windows.Forms;
using System.Data.OleDb;
using System.Data;
namespace AcadGlobles
{
class Commands
{
[CommandMethod("tst")]
static public void test()
{
MessageBox.Show("hi");
}
}
}
Thanks,
Kumar.
Solved! Go to Solution.

