AutoCAD 2010/2011/2012

AutoCAD 2010/2011/2012

Reply
Active Contributor
karen.mitchell
Posts: 48
Registered: ‎03-08-2004
Message 1 of 5 (661 Views)

viewport projection lisp

661 Views, 4 Replies
05-25-2010 01:33 PM
Hi all.

I've been using a lisp routine to project viewport boundaries into mspace; however it doesn't work in r2011. When I had the same problem going in to r2010, I was told to add the line (vl-load-com) to the lisp, which worked fine. Is there some other magic piece of code to fix it for r2011?
I'm attaching the lisp routine.

Thanks in advance for any help.

Karen
Contributor
awat32
Posts: 18
Registered: ‎10-01-2008
Message 2 of 5 (661 Views)

Re: viewport projection lisp

05-27-2010 09:57 AM in reply to: karen.mitchell
Why not just create a pline over your vport and use the change space command?
Active Contributor
karen.mitchell
Posts: 48
Registered: ‎03-08-2004
Message 3 of 5 (661 Views)

Re: viewport projection lisp

05-27-2010 10:13 AM in reply to: karen.mitchell
Well, sure that would work but I like my lisp. I type in "VG", pick the viewport and it's projected into mspace on the non-plot layer of my choice. It's really very easy. But thanks anyway.
*Phantomdrafter
Message 4 of 5 (661 Views)

Re: viewport projection lisp

05-27-2010 10:22 AM in reply to: karen.mitchell
Works fine for here. What's on the command line when it fails for you?
Contributor
awat32
Posts: 18
Registered: ‎10-01-2008
Message 5 of 5 (661 Views)

Re: viewport projection lisp

05-27-2010 10:28 AM in reply to: karen.mitchell
tested and works fine for me too. Pretty slick, I can see why you like it....
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.