|
|||||||
| Hot Tip Harry: AutoCAD Customization Cadalyst's popular Hot Tip Harry and his entourage are here to assist you with AutoCAD customization. Request help with a programming problem, locate a needed routine, or just keep up with Harry's latest activities. You'll find Harry's archive of AutoLISP and VBA code and hatch patterns at www.cadalyst.com/cadtips. Moderated by R.K. McSwain. |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
how do you pass the actual sheet size that has just been plotted to a lisp program
|
|
#2
|
||||
|
||||
|
NO body has anything to help here?
One of y'all, I'm certain, has the crib notes for Layout or some such--doncha? I know that this is a tough question; the User can make all kinds of changes that are not saved, and the like. But still, just because I got nothing . . . I mean, really, most of y'all are smarter than I am . . . |
|
#3
|
||||
|
||||
|
Quote:
Keep on programmin' Bill Kramer |
|
#4
|
|||
|
|||
|
Quote:
Can you elaborate a little. I'm not sure what to do with this. Sorry |
|
#5
|
||||
|
||||
|
I don't have an example of this type of object manipulation but it is a good idea to look into via the Harry Code Class newsletter once the editors unleash the techno-level-meter to go into the redline area. <grin>
Check out the online help inside AutoCAD for more data. Keep on programmin' |
|
#6
|
||||
|
||||
|
The geek-o-meter control has been removed to investigate this question and report it in an upcoming release of Harry's Newsletter.
Turns out that my earlier suggestion of hitting the getPaperSize method does not work as desired. It only reports the default setting (in MM no matter what the units in the plot system) and not what was just used. Harry is on the case... he has some solid leads... Keep on programmin' |
|
#7
|
||||
|
||||
|
Quote:
Try this one and let me know if you need something like this... May be you can modify it with vla-get-ActiveLayout. Regards! |
|
#8
|
||||
|
||||
|
Very nice! May I use this in the Hot Tip Harry newsletter?
Keep on programmin' |
|
#9
|
||||
|
||||
|
This is a handy lisp routine. I print a lot of dwg's using publish and using the files pagesetup...sometimes I need to check each file before printing and this will save some time.....
How could you get this to retun the results in a msgbox instead of on the command line?
__________________
"Nearly all men can stand adversity, but if you want to test a man's character, give him power." -Abraham Lincoln |
|
#10
|
||||
|
||||
|
You're welcome.
Use it as you wish!! I will change it to put all the information in a msg box or in a text file. Regards!! |
| Thread Tools | |
| Display Modes | |
|
|