Hi,
I'm creating User defined command for AutoCad call 'CREATECIRCLE' and function to handle as given below
AcadApp.DocumentManager.MdiActiveDocument.SendStringToExecute("createline ",false,false,false);
which in turn call's the command function
[Autodesk.AutoCAD.Runtime.CommandMethod("CREATECIRCLE")]
public void DrawCircle()
{
------------
------------
}
for this, it is possible to pass parameters as such
AcadApp.DocumentManager.MdiActiveDocument.SendStringToExecute("createline gx, gy ",false,false,false);