Results 1 to 6 of 6

Thread: setting the plot style

  1. #1
    I could stop if I wanted to
    Join Date
    2003-11
    Posts
    258
    Login to Give a bone
    0

    Default setting the plot style

    i have created a lisp that does a number of things to clean up drawings like text styles, layers etc

    my issue is i want it to set the plot style. i have tried it through plot but it prints a copy. and page setup only comes up as a dialog box.

    any ideas?

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: setting the plot style

    From memory... You can enter a "NO" option at the end of using the ._-plot command.
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  3. #3
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: setting the plot style

    You can push the -plot command as Renderman says, and you can directly access the layout using VLisp to set the plot style also.
    R.K. McSwain | CAD Panacea |

  4. #4
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: setting the plot style

    Quote Originally Posted by rkmcswain View Post
    You can push the -plot command as Renderman says, and you can directly access the layout using VLisp to set the plot style also.
    You know, a while back I had trouble with that albeit specifically during within an ObjectDBX function.

    The function iterated the directory of drawings successfully, removing all existing plot styles, and even added the replacement(s)... but (if memory serves) I still ended up requiring the -plot command to set the successfully imported style current within Page Setup Manager.

    Bye, bye ObjectDBX. LoL *shrug*
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  5. #5
    I could stop if I wanted to
    Join Date
    2003-11
    Posts
    258
    Login to Give a bone
    0

    Default Re: setting the plot style

    i dont think im following you

    (command “ –plot” “no” )

    enters the non-detailed plot configuration

    or do write out all the steps with no at the end?

    (command “ –plot” "y" "" "" "" "" "" "" "" “no” )

  6. #6
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: setting the plot style

    Here's a snippet from an old routine, you may need to specify some of the parameters that I've used the default (i.e., "") below:

    Code:
    (vl-cmdf "._-plot" "_n" "layout" "YourPageSetupNameHere" "" "" "_y" "_n")
    HTH
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

Similar Threads

  1. Specify the Plot Style for certain entities in a Named plot style drawing
    By Wish List System in forum AutoCAD Wish List
    Replies: 1
    Last Post: 2014-10-28, 11:52 AM
  2. Change All Layers' Plot Style Setting
    By parker.depriest356295 in forum AutoLISP
    Replies: 1
    Last Post: 2013-02-05, 07:05 PM
  3. Named Plot Style OR Color Depemdent Plot Style
    By Masroor Javid in forum ACA General
    Replies: 2
    Last Post: 2007-09-11, 02:16 PM
  4. Setting Plot Style Table in Lisp
    By fletch97 in forum AutoLISP
    Replies: 11
    Last Post: 2007-01-30, 09:43 PM
  5. Setting plot window in plot preview
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 1
    Last Post: 2006-04-18, 07:51 PM

Posting Permissions

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