Jump to content

Recommended Posts

Posted

Can anyone help with ideas how to print multiple pages quickly in model space? Can you take some block data and use that to automate the process? The powers that be are against changing to paper space layouts but its such a pain in the ass to print 10 pages of fabrication drawings that have been created in model space.

 

Thanks

Posted

You can set "views" in model space, then run a lisp that prints those views

Posted

Would the user have to manually create a new view everytime he added a new fab drawing to model space?

Posted

Yes but that can be truncated in LISP too. I have mine set up like this.

 

To set views, use commands:

V1

V2

etc...

 

To restore views:

R1

R2

etc...

 

To plot views:

P1

P2

P1-5

Pall

etc...

 

YOu can get really fancy with it, but i kept mine as simple as possible

Posted

Hmm, thanks i will investigate...

 

Is there anything that can be done for the guys who are using LT?

Posted

Yes. Instead of using LISP, you would use a script instead!

Posted

This should get you goin...

 

Set views

(DEFUN C:V1 ()
 (COMMAND "VIEW" "W" "1" PAUSE PAUSE)
 (PRINC)(PRINC "View 1 set!")(princ))

 

Restore views

(DEFUN C:RV1 ()
(COMMAND "VIEW" "R" "1")
(PRINC)(PRINC "View 1 Restored!")(princ))

 

Print views

(DEFUN C:PALLA ()
(SETVAR "CMDDIA" 0)
(PROMPT ".....PRINTING DRAWING B1 THRU B6 TO A-SIZE PAPER.....")
(COMMAND "-PLOT" "Y" "" "RICOH C5000 ENG" "Letter (8.5\" x 11\")" "" "PORTRAIT" "Y" "V" "1A" "f" "C" "y" "MONOCHROME.ctb" "N" "As displayed" "n" "n" "y")
(COMMAND "-PLOT" "Y" "" "RICOH C5000 ENG" "Letter (8.5\" x 11\")" "" "LANDSCAPE" "Y" "V" "2" "f" "C" "y" "MONOCHROME.ctb" "N" "As displayed" "n" "n" "y")
(COMMAND "-PLOT" "Y" "" "RICOH C5000 ENG" "Letter (8.5\" x 11\")" "" "LANDSCAPE" "Y" "V" "3" "f" "C" "y" "MONOCHROME.ctb" "N" "As displayed" "n" "n" "y")
(COMMAND "-PLOT" "Y" "" "RICOH C5000 ENG" "Letter (8.5\" x 11\")" "" "LANDSCAPE" "Y" "V" "4" "f" "C" "y" "MONOCHROME.ctb" "N" "As displayed" "n" "n" "y")
(COMMAND "-PLOT" "Y" "" "RICOH C5000 ENG" "Letter (8.5\" x 11\")" "" "LANDSCAPE" "Y" "V" "5" "f" "C" "y" "MONOCHROME.ctb" "N" "As displayed" "n" "n" "y")
(COMMAND "-PLOT" "Y" "" "RICOH C5000 ENG" "Letter (8.5\" x 11\")" "" "LANDSCAPE" "Y" "V" "6" "f" "C" "y" "MONOCHROME.ctb" "N" "As displayed" "n" "n" "y")
(COMMAND "-PLOT" "Y" "" "RICOH C5000 ENG" "Letter (8.5\" x 11\")" "" "LANDSCAPE" "Y" "V" "7" "f" "C" "y" "MONOCHROME.ctb" "N" "As displayed" "n" "n" "y")
(PROMPT "\n A TOOLING PRINTS COMPLETE")
(SETVAR "CMDDIA" 1)
(PRINC)
)

Posted

Wouldn't it just be better to bite the bullet and learn how to use paperspace and publish !

Posted

In a perfect world, yes. I've been trying to get these guys to convert for a while. Sometimes you really can't teach old dogs new tricks...

Posted
Wouldn't it just be better to bite the bullet and learn how to use paperspace and publish !

 

Exactly! I don't know anyone who plots in model space. It just does not make sense nowadays...

 

KC

Posted

For your info here is plot set up for paperspace, a conversion to tiffs (dont ask)

 

(COMMAND "-PLOT" "Y" "" "TIFF" "A1 6mmoff" "LANDSCAPE" "N" "W" "-6,-6" "807,560" "1=0.127" "C" "y" "TIFF.ctb" "Y" "n" "n" "y" "" "N" "y" )

 

will add the auto next paperspace viewport and repost which means it will do all automatically.

 

Once you have one paperspace you just copy as many times as required = no of views I am sure if search here can find pick point in model space, enter scale and auto paperspace setup.

Posted

had another go for a task we need to do here and be able to give out to others customised to there title block size. You can do the same thing for your views just make a list and use the repeat to plot all of them the views are a table that you can search for look at the code please.

 

also for you !!!!!!!! 
(setq doc (vla-get-activedocument (vlax-get-acad-object)))
(vlax-for myviews (vla-get-Views doc)
(setq plotviews (cons (vla-get-name myviews) plotviews))
)

program starts here !!!!!!!!!!
(PROMPT ".....PRINTING DRAWING TO TIFF's....")

(setq doc (vla-get-activedocument (vlax-get-acad-object)))
(vlax-for lay (vla-get-Layouts doc)
 (setq plotabs (cons (vla-get-name lay) plotabs))
)
(setq plotablist (acad_strlsort plotabs))
(setq len (length plottablist))
(setq x 0)
(repeat len
 (setq name (nth x plottablist))
 (princ name)
 (if (/= name "Model") ;dont plot model space
   (progn
     (setvar "ctab" name)

     (COMMAND "-PLOT"   "Y"      ""  "TIFF"
       "COGG A1 6mmoff"      "LANDSCAPE"    "N"
       "W"   "-6,-6"    "807,560" "1=0.127"  "C"
       "y"   "TIFF.ctb" "Y" "n"    "n"
       "y"   ""      "N" "y"
      )
   )
 )
 (setq x (+ x 1))
)
(princ)

 

You can have as many views as you like and it will find them so no need for multi lines. Could put some tests on the name re plot no plot.

  • 3 weeks later...
Posted

Can this process be applied to plotting a 'view' of an individual block that is directly next to a number of similar blocks in model?

Posted

Setup a drawing with layouts for each of the plots needed, use Sheet Set manager to easlly send all the files to plot. Now show them how easy that was, if they want to plot from MS let them but I would plot from layouts, as long as the output is the same who cares?

Posted
Setup a drawing with layouts for each of the plots needed, use Sheet Set manager to easlly send all the files to plot. Now show them how easy that was, if they want to plot from MS let them but I would plot from layouts, as long as the output is the same who cares?

 

I second this. Sometimes to change the rules you have to break 'em first. :twisted:

Posted

If its from an external contractor stipulate with the client/contractor that all CAD drawings must utilize the Model/Paperspace technique (obviously explain/show it in more detail etc) + any other standards etc or the CAD drawings will simply be returned and it requested the changes be made with the email informing of these also cc'd to the client so they know the delay is another company (the landscape architect say) and not you, the architect etc.

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...