PSETUPIN MACRO
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
PSETUPIN MACRO

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization
Author Message
trlear
Guest





Posted: Fri Apr 08, 2005 6:33 pm    Post subject: PSETUPIN MACRO Reply with quote

I've tried to implement a macro button to import page setups from a template to some old drawings. My macro looks like this:
^C^C.-PSETUPIN "CBEC Templates.dwt" "*" ^M;
I have the file in the 2005 support folder with is the same path listed in the Tools/Options/Support Path dialog box.

When I click the macro button, it gives me a message on the command line ...
-PSETUPIN Enter file name:
Filename cannot be blank

But then when I got to check the pages setups it seems to have put them in??

I used to have a macro button that referred to a lisp routin that would import the page setups, but I can't seem to make it work now that I've upgraded to 2005. Obviously I'm doing something wrong and would like to get this functionality back. Any help appreciated.

Thanks much!

Back to top
Elvis Landaverde
Guest





Posted: Fri Apr 08, 2005 9:36 pm    Post subject: Re: PSETUPIN MACRO Reply with quote

Last month somebody from here or the autocad academia post this macro and
work perfect, this is the macro: ^C^C_Expert 2 _-psetupin
"C:/yourdirectory/your.dwg" "*" _Expert 0 QSAVE

Elvis
"trlear" <nospam@address.withheld> wrote in message
news:15076119.1112970867888.JavaMail.jive@jiveforum2.autodesk.com...
Quote:
I've tried to implement a macro button to import page setups from a
template to some old drawings. My macro looks like this:
^C^C.-PSETUPIN "CBEC Templates.dwt" "*" ^M;
I have the file in the 2005 support folder with is the same path listed in
the Tools/Options/Support Path dialog box.

When I click the macro button, it gives me a message on the command line
....
-PSETUPIN Enter file name:
Filename cannot be blank

But then when I got to check the pages setups it seems to have put them
in??

I used to have a macro button that referred to a lisp routin that would
import the page setups, but I can't seem to make it work now that I've

upgraded to 2005. Obviously I'm doing something wrong and would like to get
this functionality back. Any help appreciated.
Quote:

Thanks much!
Back to top
trlear
Guest





Posted: Fri Apr 08, 2005 10:12 pm    Post subject: Re: PSETUPIN MACRO Reply with quote

I changed my drawing from a .dwt file to a .dwg file and now it works fine. Maybe a problem reading the template file?? Not sure, but it works so I'll leave it alone!!! :)

Thanks much for your help!

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization 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