• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    *Carlos

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

    106 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
    Please use plain text.
    *KWBrown

    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
    Please use plain text.
    *Albert Szilvasy

    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
    Please use plain text.
    *Carlos

    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
    Please use plain text.