Show the command line

Show the command line

Anonymous
Not applicable
1,415 Views
3 Replies
Message 1 of 4

Show the command line

Anonymous
Not applicable

Does anyone know how to duplicate the functionality of pressing the F2 button in .NET?  I have several commands that write a fair bit of data to the command line, including one that lists individual segments of civil 3d objects and I would like to make the command line appear in a similar fashion to the list command.

 

Thanks for your help.

 

-Mark P.

0 Likes
Accepted solutions (1)
1,416 Views
3 Replies
Replies (3)
Message 2 of 4

Jeff_M
Consultant
Consultant
Accepted solution

Autodesk.AutoCAD.Internal.Utils.ShowHideTextWindow(true)

 

Pass a value of False to hide the text window.

Jeff_M, also a frequent Swamper
EESignature
Message 3 of 4

Anonymous
Not applicable

Thank you Jeff.  It would be nice if this type of thing were documented in the API.  I see now that searching object browser in Visual Studio does find it, but you have to type 'textwindow' exactly... I searched the web for about 40 minutes before asking this question because I was sure someone must have done so before me.

 

-Mark P.

0 Likes
Message 4 of 4

DiningPhilosopher
Collaborator
Collaborator

@Anonymous wrote:

....It would be nice if this type of thing were documented in the API....

 



I'm not disagreeing with that, but.....

 

namespace Autodesk.AutoCAD.Internal.*

 

Anything within the 'Internal' namespace is entirely undocumented, and as its name suggests, is for 'internal use only'.

 

0 Likes