Author Topic: plot to limits?  (Read 3948 times)

0 Members and 1 Guest are viewing this topic.

Notsober

  • Guest
plot to limits?
« on: July 08, 2008, 08:59:06 AM »
hi all! it's been awhile...

though still working with Acad r13 (2004 edition)  :evil:

and it seems I am now unable to plot to limits and don't understand why. I set the limits like normal (always the same, according to page size/layout e.g. if the page size is 34"x22" and scale factor is 16, or in greek that's 3/4"=1'-0" then my limits shall be set to 45'-4" x 29'-4" grid looks good.) but when I go to Plot with Full Preview, it shows somewhere off the dwg. I am plotting Scalle to Fit and it's centered. I have no idea what went wrong. I created a button that will zoom either 'to limits' or 'to extents', but I don't see how that would have caused the problem...

Can someone help please?

Chuck Gabriel

  • Guest
Re: plot to limits?
« Reply #1 on: July 08, 2008, 09:27:05 AM »
Take a look at the TARGET system variable.  If it is anything other than 0,0,0 it will throw off plotting by limits.  TARGET is a read-only variable but you can change it through the DVIEW command or the following VBA code.

Code: [Select]
Sub FixTarget()
  Dim objViewport As AcadViewport
  Set objViewport = ThisDrawing.ActiveViewport
  Dim pntTarget(2) As Double
  pntTarget(0) = 0#: pntTarget(1) = 0#: pntTarget(2) = 0#
  objViewport.Target = pntTarget
  ThisDrawing.ActiveViewport = objViewport
  Set objViewport = Nothing
  Application.ZoomExtents
End Sub

Notsober

  • Guest
Re: plot to limits?
« Reply #2 on: July 08, 2008, 09:47:15 AM »
Thanks for the reply.

I'll give this a try... but it'll have to be tomorrow, turns out I've got to go out of the office for the day.


Notsober

  • Guest
Re: plot to limits?
« Reply #3 on: July 09, 2008, 05:52:48 PM »
i've never used DVIEW. So, how does it work, what do I need to do? The target is NOT 0,0,0.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: plot to limits?
« Reply #4 on: July 09, 2008, 06:28:55 PM »
DVIEW, or Dynamic View is a fabulous tool.

A clip from Help....

Defines parallel projection or perspective views by using a camera and target

 Command entry: dview
Select objects or <use DVIEWBLOCK>.

Enter option

[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]: Specify a point with your pointing device, or enter an option


Or enter DVIEW on the command line and smack that F1 key Down!

My fav of all times is the Dview Twist!


Be your Best


Michael Farrell
http://primeservicesglobal.com/

Notsober

  • Guest
Re: plot to limits?
« Reply #5 on: July 10, 2008, 09:40:52 AM »
DVIEW, or Dynamic View is a fabulous tool.

A clip from Help....

Defines parallel projection or perspective views by using a camera and target

 Command entry: dview
Select objects or <use DVIEWBLOCK>.

Enter option

[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]: Specify a point with your pointing device, or enter an option


Or enter DVIEW on the command line and smack that F1 key Down!

My fav of all times is the Dview Twist!




I don't think you get it. If I knew I could get the help I needed from F1, I wouldn't be here.

Quote
TARGET = 37'-9 5/8",11'-3 1/16",0'-0" (read only)

apparently this is the reason I cannot plot to limits. so, what AutoCAD doesn't tell me is HOW to change the target back to 0,0

would you like to kindly inform me?

Notsober

  • Guest
Re: plot to limits?
« Reply #6 on: July 10, 2008, 05:07:32 PM »
okay, something really kooky is going on here...

everytime I try to change the target, it changes to something completely different.

wtf?

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: plot to limits?
« Reply #7 on: July 10, 2008, 05:22:08 PM »
Enter option
[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]: ta

Specify camera location, or enter angle from XY plane,

or [Toggle (angle in)] <-53.6336>: 0,0


Or use Points option


Enter option
[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]: po

Specify target point <22960.9648, 18106.9790, 27.9340>: 0,0,0


Specify camera point <22928.1091, 18106.9790, 27.9340>:

Enter option
[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]:
Regenerating model.
Be your Best


Michael Farrell
http://primeservicesglobal.com/

Notsober

  • Guest
Re: plot to limits?
« Reply #8 on: July 10, 2008, 05:28:02 PM »
Enter option
[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]: ta

Specify camera location, or enter angle from XY plane,

or [Toggle (angle in)] <-53.6336>: 0,0


Or use Points option


Enter option
[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]: po

Specify target point <22960.9648, 18106.9790, 27.9340>: 0,0,0


Specify camera point <22928.1091, 18106.9790, 27.9340>:

Enter option
[CAmera/TArget/Distance/POints/PAn/Zoom/TWist/CLip/Hide/Off/Undo]:
Regenerating model.

thank you... but I already figured out how to use the VBA code from Chuck Gabriel above and it actually worked! So, I appreciate everyone's input and help.