.NET

Reply
Mentor
MarkPendergraft
Posts: 385
Registered: ‎06-27-2005
Message 1 of 4 (238 Views)
Accepted Solution

Show the command line

238 Views, 3 Replies
01-27-2013 02:30 PM

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.

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

 

Pass a value of False to hide the text window.

*Expert Elite*
Jeff_M
Posts: 4,521
Registered: ‎07-22-2003
Message 2 of 4 (227 Views)

Show the command line

01-27-2013 05:09 PM in reply to: MarkPendergraft

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

 

Pass a value of False to hide the text window.

Jeff_M, also a frequent Swamper
Mentor
MarkPendergraft
Posts: 385
Registered: ‎06-27-2005
Message 3 of 4 (217 Views)

Re: Show the command line

01-27-2013 09:06 PM in reply to: Jeff_M

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.

Valued Mentor
DiningPhilosopher
Posts: 370
Registered: ‎05-06-2012
Message 4 of 4 (207 Views)

Re: Show the command line

01-28-2013 01:06 AM in reply to: MarkPendergraft

MarkPendergraft 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'.

 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.