TARGET System Variable

Martin Schmid

Usenet Archive
Joined
Jul 11, 2003
Messages
47
Reaction score
0
I have an application... however, a particular drawing has the variable TARGET set to something other than 0,0,0 in modelspace, and this throws my application off my the exact distance reported by this TARGET value...

What is this variable? What sets it, and how can it be reset?... it shows that it is a Read only variable according to the docs....

Thanks for any help!
 
That variable has to do with setting the camera view for perspective view in 3d models. Look into the Dview command and CAmera options

Murph
 
Since Target can be a property of a View, maybe you can create a View and restore it via SetView.
 
Martin,

I've had the same problem in the past. The (trans) function can get all screwed up.

To reset TARGET to 0,0,0

(defun c:reset_target
(command "_.DVIEW" "" "_PO" '(0 0 0) '(0 0 1) "_X"))

-David
 
OLD-CADaver said:
TARGET is the coordinates for the center of your current view.

Not really.

Stores the location (as a UCS coordinate) of the target point for the current viewport.

The only way I know of changing the TARGET value is via DVIEW. PLAN and ZOOM have no effect on it.

- David
 
You're absolutely correct. I should have added "when the view was created".
 

Latest threads

Back
Top