<?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 Re: About presspull in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/about-presspull/m-p/10510431#M57543</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5108811"&gt;@saitoib&lt;/a&gt;&amp;nbsp; Replace command PRESSPULL with command EXTRUDE. Create selection set of lwpolylines, and apply command with appropriate extrusion length. You don't&amp;nbsp; need to search for shape center point. Positive extrude length will create 3dsolid in direction of plane normal vector, and negative in opposite.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 31 Jul 2021 11:08:32 GMT</pubDate>
    <dc:creator>hak_vz</dc:creator>
    <dc:date>2021-07-31T11:08:32Z</dc:date>
    <item>
      <title>About presspull</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/about-presspull/m-p/10510137#M57542</link>
      <description>&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;command rectang 0,0 100,100&lt;/P&gt;&lt;P&gt;With the squares drawn, I get&lt;/P&gt;&lt;P&gt;In test1, I can successfully extrude it, but in test2, I get an error.&lt;BR /&gt;Why is this?&lt;BR /&gt;Please help me.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun c:test1 (/ th id vrs cent)
	(setq th 5)
	(setq id (car (entsel)))
	
	(setq vrs (vl-remove-if '(lambda (x) (/= (car x) 10)) (entget id)))
	(setq cent (mapcar '/ (list (apply '+ (mapcar 'cadr vrs))
			(apply '+ (mapcar 'caddr vrs)))
			(list (length vrs) (length vrs))))
	(setq cent (list (car cent) (cadr cent) 0.0))

	(command "_.presspull" cent th "")
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun c:test2
	( / th pt1 pt2 ss nn i id vrs cent)

	(setq th 5)
	(setq pt1 (getpoint "\nSelect area : "))
	(setq pt2 (getcorner pt1 "\nAnother corner :"))

	(setq ss (ssget "_C" pt1 pt2(list (cons 0 "LWPOLYLINE"))))
	(setq nn (sslength ss))
	
	(setq i 0)
	(while (&amp;lt; i nn)
		(setq id (ssname ss i))
		(setq vrs (vl-remove-if '(lambda (x) (/= (car x) 10)) (entget id)))
		(setq cent (mapcar '/ (list (apply '+ (mapcar 'cadr vrs))
				(apply '+ (mapcar 'caddr vrs)))
				(list (length vrs) (length vrs))))
		(setq cent (list (car cent) (cadr cent) 0.0))

		(command "_.presspull" cent th "")
		(setq i ( 1+ i))
	)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 31 Jul 2021 07:27:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/about-presspull/m-p/10510137#M57542</guid>
      <dc:creator>saitoib</dc:creator>
      <dc:date>2021-07-31T07:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: About presspull</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/about-presspull/m-p/10510431#M57543</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5108811"&gt;@saitoib&lt;/a&gt;&amp;nbsp; Replace command PRESSPULL with command EXTRUDE. Create selection set of lwpolylines, and apply command with appropriate extrusion length. You don't&amp;nbsp; need to search for shape center point. Positive extrude length will create 3dsolid in direction of plane normal vector, and negative in opposite.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jul 2021 11:08:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/about-presspull/m-p/10510431#M57543</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-07-31T11:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: About presspull</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/about-presspull/m-p/10511278#M57544</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;@&lt;/SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556" target="_self"&gt;&lt;SPAN class=""&gt;hak_vz&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In fact, I want to draw some separate shape inside the square and make this a hole.&lt;BR /&gt;This is not easy to do in AutoCAD's extrude, is it?&lt;BR /&gt;So I want to use presspull.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jul 2021 22:46:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/about-presspull/m-p/10511278#M57544</guid>
      <dc:creator>saitoib</dc:creator>
      <dc:date>2021-07-31T22:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: About presspull</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/about-presspull/m-p/10511346#M57545</link>
      <description>&lt;P&gt;In the case of test2&lt;BR /&gt;"Click inside a surface, curve, or bounding area"&lt;BR /&gt;message appears.&lt;BR /&gt;Does this mean that it can't click inside the boundary correctly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if I insert&amp;nbsp;&lt;BR /&gt;(command "circle" cent 10)&lt;BR /&gt;I can draw a circle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why does ?&lt;/P&gt;</description>
      <pubDate>Sun, 01 Aug 2021 00:10:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/about-presspull/m-p/10511346#M57545</guid>
      <dc:creator>saitoib</dc:creator>
      <dc:date>2021-08-01T00:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: About presspull</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/about-presspull/m-p/10511743#M57546</link>
      <description>&lt;P&gt;I finally understood the cause.&lt;/P&gt;&lt;P&gt;In the case of test1, the effect of entsel was still there, so I was able to select it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When presspull is in the "Select object or bounding area" state, is it possible to select the object with the command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the other hand, the extrude command seems to be able to use entity names, so I guess I have to use exturde even if it requires more steps?&lt;/P&gt;</description>
      <pubDate>Sun, 01 Aug 2021 07:05:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/about-presspull/m-p/10511743#M57546</guid>
      <dc:creator>saitoib</dc:creator>
      <dc:date>2021-08-01T07:05:39Z</dc:date>
    </item>
  </channel>
</rss>

