.NET

Reply
*Carlos
Message 1 of 4 (124 Views)

How do I print a message in AutoCAD 2005 without Autodesk.AutoCAD.EditorInput?

124 Views, 3 Replies
07-15-2005 04:59 PM
Hello again...sigh,

I'm using AutoCAD 2005, so when I add acdbmgd and acmgd to my C# solution as
references, I cannot use:

using Autodesk.AutoCAD.EditorInput;

As a result, I can't use the WriteMessage method for printing a message in
AutoCAD. How can I do it using AutoCAD 2005?

Sorry to ask so many questions. Maybe I'm totally off track here...

-Carlos
*KWBrown
Message 2 of 4 (123 Views)

Re: How do I print a message in AutoCAD 2005 without Autodesk.AutoCAD.EditorInput?

07-15-2005 05:50 PM in reply to: *Carlos
Search the ObjectARX discussion Group for a post by Jim Awe containing
MgdDbg which had classes for AC2005 Net interface.

.. sorry, don't have a link ..

kwb


"Carlos" wrote in message
news:4903328@discussion.autodesk.com...
Hello again...sigh,

I'm using AutoCAD 2005, so when I add acdbmgd and acmgd to my C# solution as
references, I cannot use:

using Autodesk.AutoCAD.EditorInput;

As a result, I can't use the WriteMessage method for printing a message in
AutoCAD. How can I do it using AutoCAD 2005?

Sorry to ask so many questions. Maybe I'm totally off track here...

-Carlos
*Albert Szilvasy
Message 3 of 4 (123 Views)

Re: How do I print a message in AutoCAD 2005 without Autodesk.AutoCAD.EditorInput?

07-15-2005 07:12 PM in reply to: *Carlos
WriteMessage is new in AutoCAD 2006. There was another way of doing this in
AutoCAD 2005. Something like CommandPrompt.Message or similar. BTW, if you
are new to AutoCAD I recommend that you use the COM interop assemblies
first. They are easier to use although in some scenarios they are somewhat
slower.

albert
"Carlos" wrote in message
news:4903328@discussion.autodesk.com...
Hello again...sigh,

I'm using AutoCAD 2005, so when I add acdbmgd and acmgd to my C# solution as
references, I cannot use:

using Autodesk.AutoCAD.EditorInput;

As a result, I can't use the WriteMessage method for printing a message in
AutoCAD. How can I do it using AutoCAD 2005?

Sorry to ask so many questions. Maybe I'm totally off track here...

-Carlos
*Carlos
Message 4 of 4 (123 Views)

Re: How do I print a message in AutoCAD 2005 without Autodesk.AutoCAD.EditorInput?

07-21-2005 06:12 PM in reply to: *Carlos
In case anyone is ever interested...

Autodesk.AutoCAD.ApplicationServices.CommandLinePrompts.Message("My
String");

Thanks again for your comments.

-Carlos


"Albert Szilvasy" wrote in message
news:4903358@discussion.autodesk.com...
WriteMessage is new in AutoCAD 2006. There was another way of doing this in
AutoCAD 2005. Something like CommandPrompt.Message or similar. BTW, if you
are new to AutoCAD I recommend that you use the COM interop assemblies
first. They are easier to use although in some scenarios they are somewhat
slower.

albert
"Carlos" wrote in message
news:4903328@discussion.autodesk.com...
Hello again...sigh,

I'm using AutoCAD 2005, so when I add acdbmgd and acmgd to my C# solution as
references, I cannot use:

using Autodesk.AutoCAD.EditorInput;

As a result, I can't use the WriteMessage method for printing a message in
AutoCAD. How can I do it using AutoCAD 2005?

Sorry to ask so many questions. Maybe I'm totally off track here...

-Carlos

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
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

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

Ask the Community