You can call that very command using .net.
here is a minimal code sample:
[CommandMethod("HideCommandLine")] public static void HideCommandLine() { Document doc = Application.DocumentManager.MdiActiveDocument; doc.SendStringToExecute("COMMANDLINEHIDE\n", true, false, false ); } [CommandMethod("ShowCommandLine")] public static void ShowCommandLine() { Document doc = Application.DocumentManager.MdiActiveDocument; doc.SendStringToExecute("COMMANDLINE\n", true, false, false); }
Hope that helps.
Hi,
thank you for answer.
is it possibile to do HIde/show without use sendstringtoexecute?
Regards,
Mario
There might certainly be - unfortunately, I do not know that answer. Perhaps through some system settings? Someone more knowledgeable can help.
rgds
Ben
You can try the following. However, please be very cautious to use this API as this is undocumented and unsupported.
Autodesk.AutoCAD.Internal.Utils.CloseCommandLine();