Print Multiple page numbers without having to constantly open TEXTEDIT

Print Multiple page numbers without having to constantly open TEXTEDIT

Anonymous
Not applicable
1,320 Views
20 Replies
Message 1 of 21

Print Multiple page numbers without having to constantly open TEXTEDIT

Anonymous
Not applicable

Hey so I have always thought this was one of my duties i couldve made a lot more efficient. I create various sheets for jobs with multiple pallets called Travelers. First I find out how many pallets Travelers I will need to make and insert that number on to the drawing with TEXTEDIT. Then Based on How many pieces go per pallet I print out every sheet sequentially (ex. 01 of 10, 02 of 10, 03 of 10 and so on) using TEXTEDIT.

 

heres a picture

1.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 Of course when I have over 20 Travelers it gets really tedious and time consuming to do the whole

 

-double click

-change number

-enter

-ctrl+p

-enter

-repeat

 

So Is there a macro or even a command that will do this for me?

0 Likes
Accepted solutions (2)
1,321 Views
20 Replies
Replies (20)
Message 21 of 21

lando7189
Advocate
Advocate

If you add this to the begining of the code, you can have it automatically set your plot config and exit if it can't set it.

 

  (if
    (vl-Catch-All-Error-p
      (vl-Catch-All-Apply
        'vla-put-ConfigName
          (list
            (vla-get-ActiveLayout(vla-get-ActiveDocument (vlax-get-acad-object)))
            "4V.pc3"
          )
      )
    )
    (progn
      (alert "Unable to set plot configuration to 4V.pc3")
      (exit)
    )
  )

 

0 Likes