Author Topic: lisp to replace "command" "zoom" "C" pt size  (Read 189 times)

0 Members and 1 Guest are viewing this topic.

curmudgeon

  • Newt
  • Posts: 192
lisp to replace "command" "zoom" "C" pt size
« on: January 07, 2019, 04:42:58 PM »
I have misplace some old code, maybe.

I am writing some lisp to search out blocks that have been exploded by (many) others over time.
I can make a selection set easily enough, but I want to zoom to the coordinates of an object, like the center point of an arc, and give it a proper zoom level.

I want to replace (command "zoom" "c" PT SIZE)
because I hate seeing "command" in my code.

Just can't remember how to do it.

Thanks.
Never express yourself more clearly than you are able to think.

kdub

  • SuperMod
  • Swamp Rat
  • Posts: 1223
  • class keyThumper<T>:ILazy<T>
Re: lisp to replace "command" "zoom" "C" pt size
« Reply #1 on: January 07, 2019, 04:54:25 PM »
This may help with a template or direction to look in

From sensei Gilles

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/zoom-object-problem/td-p/5031146
called Kerry in my other life

Sometimes the question is more important than the answer.

curmudgeon

  • Newt
  • Posts: 192
Re: lisp to replace "command" "zoom" "C" pt size
« Reply #2 on: January 07, 2019, 06:59:27 PM »
It's been a while. Thank You Very Much.
Never express yourself more clearly than you are able to think.