+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 22 of 22
  1. #21
    Forum Newbie
    Using
    AutoCAD 2013
    Join Date
    Sep 2016
    Posts
    5

    Default

    Registered forum members do not see this ad.

    Sorry for the delayed response... I was out of town for work. Roy_043, I tried that code that you posted but it still did the same thing that mine did. BIGAL, I'm still not sure what you need me to do... I posted the code that I used for the lisp and it works the same as the code Roy_043 posted.


    The command MCO_PLOT will plot the current layout using MCOLOR 9 colors / textures (the extension program I am using). Using that command, it will bring up a dialogue box to ask where to save and then it will plot to PDF. My lisp function just repeats that for all of the tabs automatically, but since it repeating the MCO_PLOT command in its entirety, it is asking where to save each layout, which throws a wrench in the automatic nature of it...


    Is there a way to get the code for the MCO_PLOT command and modify it so that it does not ask where to save? Then we might be able to add a save code to my lisp that will only prompt me once where to save all of the tabs.


    Let me know what I can do to help this make sense or to help find a solution. I am a big CAD user, but this is my first time trying to write/modify commands, so I apologize if I'm a little slow with it.


    Thanks!

  2. #22
    Luminous Being
    Using
    Civil 3D 2016
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    9,727

    Default

    Registered forum members do not see this ad.

    Greenla I dont think you understand that unless you are realy good at writing in assembler the very very top of programming you can not change the dialouge call. Its also generally breaching copyright to debug some elses code. Its always been a problem to fill in pop up dialouges other than autocad DCL.

    Again contact Mcolor and ask if there is a command line version available. It might be like -mcolor -filename.

    As examples, I am using ghostscript as command line driven and working on a JPG Exiftool to real world co-ords using a command line driven program so its possible.
    A man who never made mistakes never made anything

Similar Threads

  1. Save a dwg in a subfolder with the same name as the file, using lisp code
    By ankoron in forum AutoLISP, Visual LISP & DCL
    Replies: 6
    Last Post: 10th Sep 2016, 11:40 am
  2. Replies: 17
    Last Post: 15th Nov 2015, 12:07 pm
  3. Lisp Command For Setting The Auto File Save Location
    By ReinierMeyer in forum AutoLISP, Visual LISP & DCL
    Replies: 17
    Last Post: 9th Jan 2014, 05:49 pm
  4. calling commands from loaded arx file using lisp function (command)
    By LibertyOne in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 3rd May 2011, 01:43 pm
  5. Where to save a Lisp file?
    By amounjid in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 7
    Last Post: 23rd Sep 2008, 09:27 pm

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts