See the top rated post in this thread. Click here

Results 1 to 10 of 12

Thread: Setting Plot Style Table in Lisp

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I could stop if I wanted to
    Join Date
    2004-12
    Location
    California
    Posts
    283
    Login to Give a bone
    0

    Default Setting Plot Style Table in Lisp

    Afternoon -

    I need to build into my lisp a way to set the appropriate plot style table and make it active.

    I've searched through the forums here and no one really gave an answer, so please do not post links to other posts!

    I've tried the following list with nothing working.....

    (vla-RefreshPlotDeviceInfo objLayout)
    (vla-Put-StyleSheet objLayout "MyStyle.stb")

    ThisDrawing.ActiveLayout.StyleSheet = "MyStyle.stb"

    (vl-load-com)
    (vla-put-PrinterStyleSheetPath (vla-get-Files (vla-get-Preferences (vlax-get-acad-object))) "MyStyle.stb")

    I've attached a pic of the tool itself from the options dialog box but I need a way of doing this from the command line for the lisp routine.

    Any suggestions?
    Attached Images Attached Images

Similar Threads

  1. Change All Layers' Plot Style Setting
    By parker.depriest356295 in forum AutoLISP
    Replies: 1
    Last Post: 2013-02-05, 07:05 PM
  2. setting the plot style
    By rstiles in forum AutoLISP
    Replies: 5
    Last Post: 2012-02-10, 07:54 PM
  3. Replies: 1
    Last Post: 2006-10-13, 04:58 PM
  4. Plot style Table
    By rputhenv in forum AutoCAD Plotting
    Replies: 5
    Last Post: 2005-03-05, 08:30 AM

Posting Permissions

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