Plotting In PaperSpace -- Looking for Insights on Jurassic C
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Plotting In PaperSpace -- Looking for Insights on Jurassic C

 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA
Author Message
matt_1ca
Guest





Posted: Wed Mar 30, 2005 3:37 pm    Post subject: Plotting In PaperSpace -- Looking for Insights on Jurassic C Reply with quote

We have a very old code that works perfect what it does is create many pdf files based on views created in the drawing.

It is semi-automatic when it comes to plotting because user has to still bind the created separate pdf into one pdf document manually. Then print the created pdf compilation.

Right now they are very eager to move everything to paperspace they say it is better at plotting and all those kind
of things -- and they are asking me is there a way to re-use this piece of code so that it will work in paperspace as well.

Personally, I think the code below is going to be garbage code -- but before I finally dump it -- I want the experts to see it and hear what they have to say


(while (/= newnum 0)


(setq specialdir (dos_specialdir 40))

(setq hy (strcat specialdir "My Documents\\in\\" (itoa newnum)))

(command "filedia" "0")
(command "-plot" "y" "model" "PostScript Level 2.pc3" "User 1 (8.50 x 14.00 Inches)" "millimeters" porient "no" "view"
newnum "1=5" "center" "y" pcp "y" "as displayed" "Y" hy "n" "y")
(command "filedia" "1")

(setq num (+ num 1))

(setq newnum (strcase (getstring (strcat "\n [0 to Quit] Enter View number <"(itoa num)">: "))))
(if (= newnum "") (setq newnum num)(setq newnum (atoi newnum)))

)

(startapp "acrodist.exe")
(startapp "acrobat.exe")

Thank you for all your insights.

Matt

Back to top
matt_1ca
Guest





Posted: Wed Mar 30, 2005 3:53 pm    Post subject: Re: Plotting In PaperSpace -- Looking for Insights on Jurass Reply with quote

Oops forgot to mention (just in case someone might wonder why I posted this Lisp routine in VB forum) -- I am going to use VB to interact with tweaked jurassic code if experts insights point to that direction. Intention being to be able to plot layouts all from paperspace.

Matt
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> VBA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB