Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

set plot area to layout in page setup

2 REPLIES 2
Reply
Message 1 of 3
redstepdrafter
327 Views, 2 Replies

set plot area to layout in page setup

does anyone know of a way to set the plot area in the page setup to layout through lisp or vb
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: redstepdrafter

A "quick and dirty" way to do it with lisp is to go through the PLOT function with a COMMAND:

(command "plot" "y" ""...

Be sure to enter "Layout" for the "Enter plot area" prompt, a "y" for the "Save changes to layout" prompt and "n" for the "Proceed with plot" prompt.
Message 3 of 3
Anonymous
in reply to: redstepdrafter

This snip of code will change the active layout's, page setup, plot area to extents. (setq Active_Layout (vlax-get-property (vlax-get-property (vlax-get-acad-object) 'ActiveDocument) 'ActiveLayout)) (if Active_Layout (vlax-put-property Active_Layout 'PlotType 1)) "redstepdrafter" wrote in message news:16430596.1091548870594.JavaMail.jive@jiveforum2.autodesk.com...

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost