Visual LISP, AutoLISP and General Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Lisp to change Plot Style Table
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
218 Views, 1 Replies
10-03-2012 02:15 PM
Is it possible to create a lisp that would change the plot style table? I don't know of any variable to type to change that. We convert drawings from Solidworks to AutoCad and use the basic monochrome plot style. I'd like to easily change that since the act of doing that is repeated many times.
Thanks,
Brandon
Re: Lisp to change Plot Style Table
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-03-2012 03:00 PM in reply to:
bzeone
This is what is needed to determine the current plotstyle using vlisp. Change the get to a put and add the name just before the last parenthesis in quotes.
(vla-get-stylesheet(vla-item(vla-get-layouts(vla-get-activedocument(vlax-get-acad-object)))(getvar "ctab")))
