<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Better Zoom to (entlast) in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/better-zoom-to-entlast/m-p/9369471#M77360</link>
    <description>&lt;P&gt;I need a better way to Zoom to the last object created.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;	(entmake (list (cons 0 "CIRCLE")							; place circle on pt
				   (cons 100 "AcDbEntity")						; 100 Entity Code
				   (cons 8 "temp")								; Layer 0
				   (cons 62 1)									; color red
				   (cons 100 "AcDbCircle")						; 100 Entity Block
				   (cons 10 pt)									; insertion point
				   (cons 40 (* sc 2))							; radius
			 )													; list
	)															; entmake (list '(0 . "CIRCLE")
	;; zoom to point
	(command "_zoom" "o" (entlast) "")
	(command "_zoom" "1/30" "")

	;; get insetion point
	(setq pt (getpoint pt "\nPlace the block... \n"))
	(delbylayer "temp")&lt;/LI-CODE&gt;&lt;P&gt;This code is a part of a while loop, processing from about eight to over 100 points.&lt;/P&gt;&lt;P&gt;The circle gives focus to a point close the point to be picked. I thought that it would be ideal as a zoom-to point.&lt;/P&gt;&lt;P&gt;In the practical, it works for the first two or three zooms, but zooms lower and lower on the screen till the circle is no longer in the zoom.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2020 15:29:55 GMT</pubDate>
    <dc:creator>mmitchellH6TRW</dc:creator>
    <dc:date>2020-03-10T15:29:55Z</dc:date>
    <item>
      <title>Better Zoom to (entlast)</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/better-zoom-to-entlast/m-p/9369471#M77360</link>
      <description>&lt;P&gt;I need a better way to Zoom to the last object created.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;	(entmake (list (cons 0 "CIRCLE")							; place circle on pt
				   (cons 100 "AcDbEntity")						; 100 Entity Code
				   (cons 8 "temp")								; Layer 0
				   (cons 62 1)									; color red
				   (cons 100 "AcDbCircle")						; 100 Entity Block
				   (cons 10 pt)									; insertion point
				   (cons 40 (* sc 2))							; radius
			 )													; list
	)															; entmake (list '(0 . "CIRCLE")
	;; zoom to point
	(command "_zoom" "o" (entlast) "")
	(command "_zoom" "1/30" "")

	;; get insetion point
	(setq pt (getpoint pt "\nPlace the block... \n"))
	(delbylayer "temp")&lt;/LI-CODE&gt;&lt;P&gt;This code is a part of a while loop, processing from about eight to over 100 points.&lt;/P&gt;&lt;P&gt;The circle gives focus to a point close the point to be picked. I thought that it would be ideal as a zoom-to point.&lt;/P&gt;&lt;P&gt;In the practical, it works for the first two or three zooms, but zooms lower and lower on the screen till the circle is no longer in the zoom.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 15:29:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/better-zoom-to-entlast/m-p/9369471#M77360</guid>
      <dc:creator>mmitchellH6TRW</dc:creator>
      <dc:date>2020-03-10T15:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Better Zoom to (entlast)</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/better-zoom-to-entlast/m-p/9369596#M77361</link>
      <description>&lt;P&gt;For right now:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;	(entmake (list (cons 0 "CIRCLE")							; place circle on pt
				   (cons 100 "AcDbEntity")						; 100 Entity Code
				   (cons 8 "temp")								; Layer 0
				   (cons 62 1)									; color red
				   (cons 100 "AcDbCircle")						; 100 Entity Block
				   (cons 10 pt)									; insertion point
				   (cons 40 (* sc 2))							; radius
			 )													; list
	)															; entmake (list '(0 . "CIRCLE")
	;; zoom to point
	(command-s "_zoom" "c" pt "" 30 "")

	;; get insetion point
	(setq pt (getpoint pt "\nPlace the block... \n"))
	(delbylayer "temp")&lt;/LI-CODE&gt;&lt;P&gt;This works consistently.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 16:08:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/better-zoom-to-entlast/m-p/9369596#M77361</guid>
      <dc:creator>mmitchellH6TRW</dc:creator>
      <dc:date>2020-03-10T16:08:19Z</dc:date>
    </item>
  </channel>
</rss>

