Author Topic: Modelspace coordinates from paperspace viewports?  (Read 2842 times)

0 Members and 1 Guest are viewing this topic.

hardwired

  • Guest
Modelspace coordinates from paperspace viewports?
« on: March 31, 2008, 09:33:24 AM »
Hi,

How can i access the modelspace coordinates from paperspace viewports?

Is there a quick way or is it more complex than a simple property or in-built function?

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4076
Re: Modelspace coordinates from paperspace viewports?
« Reply #1 on: March 31, 2008, 10:04:21 AM »
what exactly are you trying to do?  find the limits of the VP as it relates to MS?
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)

hardwired

  • Guest
Re: Modelspace coordinates from paperspace viewports?
« Reply #2 on: March 31, 2008, 10:23:34 AM »
Yeah basically. I want to create a rectangle (polyline) in modelspace to indicate where the viewport in paperspace in 'looking at'..

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Modelspace coordinates from paperspace viewports?
« Reply #3 on: March 31, 2008, 11:54:34 AM »
If you don't mind a lisp solution, here is one I wrote and Alan (CAB) fixed.

http://www.theswamp.org/index.php?topic=9461.0
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

surveyor_randy

  • Guest
Re: Modelspace coordinates from paperspace viewports?
« Reply #4 on: April 03, 2008, 08:22:00 AM »
This post got me curious.  Is it possible to set the center of a viewport with modelspace coordinates in VBA?

Bryco

  • Water Moccasin
  • Posts: 1883
Re: Modelspace coordinates from paperspace viewports?
« Reply #5 on: April 03, 2008, 10:04:09 AM »
Zoom and zoomcenter for that Randy.
The rectangle has been covered in past posts and  a solution for 2d given perhaps the lisp gives a better solution for isoviews

surveyor_randy

  • Guest
Re: Modelspace coordinates from paperspace viewports?
« Reply #6 on: April 03, 2008, 01:07:13 PM »
Zoom and zoomcenter for that Randy.
The rectangle has been covered in past posts and  a solution for 2d given perhaps the lisp gives a better solution for isoviews

Thanks for the help!

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Modelspace coordinates from paperspace viewports?
« Reply #7 on: April 03, 2008, 02:44:50 PM »
One could copy the original viewport and then use the chgspace command, this will insert the viewport rectangle into the model.
Be your Best


Michael Farrell
http://primeservicesglobal.com/