.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
302 Views, 3 Replies

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

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
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

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
Message 3 of 4
Anonymous
in reply to: Anonymous

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
Message 4 of 4
Anonymous
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost