I am unable to zoom the object. My drawings are set on real coordinates, and when i zoom object, it zooms to all objects and it's impossible to recognize which object it is. Please find attached drawing as an example.
|
|
|
I am unable to zoom the object. My drawings are set on real coordinates, and when i zoom object, it zooms to all objects and it's impossible to recognize which object it is. Please find attached drawing as an example.
Are you running a vetical to acad? And how are you selecting the object to zoom to?
Zoom Object is working, try listing one of them. They're blocks with a bunch of invisible annotative attributes set as scale 1:100 which spreads them out a bit.
I've never used an invisible attribute myself. Why not simply put it on a separate layer you can freeze instead?
- - - Updated - - -
- - - Updated - - -
yeah true, but i have received 100's of drawings from contractor and its almost imposible to redefine attributes. i am trying to zoom objects by handle, but had no luck yet.
- - - Updated - - -
I am using Lisp, i am trying to zoom object using handle ID, but it dont zoom enough to recognize which object its is. even with with simple zoom command and then object dont zoom to that object.
(defun C:HANDLE ( / handle ent )
(setq handle (getstring "\nEnter handle to search for: "))
(setq ent (handent handle))
(if ent
(progn ;line added
(sssetfirst nil (ssadd ent))
(command "_zoom" "_Object");line added
);line added
;Else
(ALERT "The handle you entered does not exist in this drawing!")
)
(princ)
)
I froze the invisible attribute layers, then the layers the blocks were inserted on, then thawed the block layers and zoom object seems to work now. Modified drawing attached, I'm guessing these drawings were produced by something other than AutoCAD.
One other work around,
set your limits to the extent of your objects, then do a zoom extents and from there your zoom object should work