.NET

Reply
Mentor
Posts: 375
Registered: ‎06-27-2005
Message 1 of 4 (196 Views)
Accepted Solution

Show the command line

196 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.

*Expert Elite*
Jeff_M
Posts: 3,963
Registered: ‎07-22-2003
Message 2 of 4 (185 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
Posts: 375
Registered: ‎06-27-2005
Message 3 of 4 (175 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
Posts: 370
Registered: ‎05-06-2012
Message 4 of 4 (165 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'.

 

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community