Jump to content

Plot user paper size


reza

Recommended Posts

Dear ReMark and BIGAL,

 

 

First of all, I'd like to apologize for my poor English. At the moment, a colleague of mine is helping me with this thread.

 

 

The main question here is not why, but how? Suppose there are indefinite layout areas in a single DWG file and I have defined a single custom paper, namely CP1. So, what I need to do with my lisp in each run, is to assign ΔX and ΔY of user-picked points of a layout block as dimensions of CP1.

new block.dwg

Link to comment
Share on other sites

  • Replies 46
  • Created
  • Last Reply

Top Posters In This Topic

  • reza

    23

  • maratovich

    8

  • BIGAL

    6

  • mostafa badran

    5

Top Posters In This Topic

Posted Images

thx a lot maratovich

this program is very complete and very interesting but i want very simple lisp code to do this (change paper size in each run).

is this possible?

Edited by reza
Link to comment
Share on other sites

thank you for guidance me

(setq p1 (getpoint "\nPick first corner : "))
(setq p2 (getcorner p1 "\nPick the opposite corner : "))
(setq deltaX (abs (- (car p1) (car p2))))
(setq deltaY (abs (- (cadr p1) (cadr p2))))
;;;;;;;;(setq str (strcat (itoa (fix deltaX)) "*" (itoa (fix deltaY))))

(commnad "-plot"
"yes"
"model"
"plot1.pc3"
"CP1"
"millimeters"
"landscape"
"no"
p1
p2
"1=1"
.
.
.
.
.
)

Link to comment
Share on other sites

my dear bigal

I've worked from autocad r11 until now , and I have not any claim In this case

one question :

I need to do with my lisp in each run, is to assign ΔX and ΔY of user-picked points of a layout block as dimensions of CP1.

and one answer :

possible or impossible

Link to comment
Share on other sites

This question has been asked again in another post today so I am thinking about it if I can find some time.

 

As I have said previously it can be done manually very quickly using zoom centre and a plot scale requires only 1 pt but you then drag the mview limits to suit.

 

Are you metric or feet.

Link to comment
Share on other sites

I assure you the ultimate goal does not concern nuclear energy and its associate industries in any way! ;)

 

The purpose here is to print different parts of a DWG file (which are numerous) in PDF format as fast and as convenient as possible without any unnecessary paper waste when printing in physical plotters. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...