<?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: imprint multiple objects in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/9280887#M144069</link>
    <description>&lt;P&gt;&amp;nbsp;That works perfectly! I did change one thing, the prompt asks: "Enter rotation angle" instead of: "Keep entities?"&amp;nbsp; I assume you pasted some code from a similar macro or something.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;R.L. Hamm&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 22:20:22 GMT</pubDate>
    <dc:creator>rhgrafix</dc:creator>
    <dc:date>2020-01-28T22:20:22Z</dc:date>
    <item>
      <title>imprint multiple objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/5496030#M144062</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I need a&lt;/SPAN&gt; &lt;SPAN&gt;lisp&lt;/SPAN&gt; &lt;SPAN&gt;that&lt;/SPAN&gt;&lt;/SPAN&gt; imprint multiple objects at the same time (by window selection, lines and polylines) into 3d solid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 13:04:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/5496030#M144062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-05T13:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: imprint multiple objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/5496121#M144063</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I need a&lt;/SPAN&gt; &lt;SPAN&gt;lisp&lt;/SPAN&gt; &lt;SPAN&gt;that&lt;/SPAN&gt;&lt;/SPAN&gt; imprint multiple objects at the same time (by window selection, lines and polylines) into 3d solid&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;More information is needed, and&amp;nbsp;an image or sample drawing would be better still.&amp;nbsp; What does it mean to "imprint" a Line "into" a 3D Solid?&amp;nbsp; If you&amp;nbsp;want to &lt;EM&gt;carve something out of the surface of&lt;/EM&gt; the Solid, you will need to base it on something more than a Line, which [being only one-dimensional] has no volume that can be Subtracted [or added, if you want something raised above the Solid surface], but a Polyline &lt;EM&gt;with width&lt;/EM&gt; could be Extruded into something with volume that could be Subtracted from [or added to] the Solid.&amp;nbsp; Or do you only mean you want to put Lines and Polylines &lt;EM&gt;onto the surface of&lt;/EM&gt;&amp;nbsp;a Solid?&amp;nbsp; Does the solid have &lt;EM&gt;flat&lt;/EM&gt; surfaces that Lines and Polylines could be drawn on?&amp;nbsp; Etc., etc.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 14:21:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/5496121#M144063</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-02-05T14:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: imprint multiple objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/5496186#M144064</link>
      <description>&lt;P&gt;i want imprint muliple coplanaire 2d lines on a 3d solid to create additional edges on planar faces , because imprint commande imprint 2d geometrie one by one and ask me if i want to delete source&amp;nbsp; &lt;SPAN&gt;&lt;SPAN&gt;whenever &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 15:18:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/5496186#M144064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-02-05T15:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: imprint multiple objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/5496313#M144065</link>
      <description>&lt;P&gt;Hi majdov24,&lt;/P&gt;
&lt;P&gt;a quick and dirty solution...&lt;BR /&gt;The 'demo' is not testing if a valid object (with intersection edges) is selected by the user, if an invalid object is selected, the code will throw an error...&lt;/P&gt;
&lt;P&gt;Sorry, I have a deadline to meet, so at the moment, I don't have much free time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:demo (/ a b itm num ss ss1)
  (if (and (princ "\nSelect a 3D solid or surface: ")
	   (setq ss (ssget "_+.:E:S:L" '((0 . "3DSOLID,*SURFACE"))))
	   (princ "\nSelect objects to imprint: ")
	   (setq ss1 (ssget "_:L" '((0 . "ARC,CIRCLE,LINE,*POLYLINE,ELLIPSE,SPLINE,REGION,3DSOLID"))))
	   )
    (progn
       (setq itm 0 num (sslength ss1))
      (command "_.imprint" (setq a (ssname ss 0)))
      (while (&amp;lt; itm num)
	(if (not (eq a (setq b (ssname ss1 itm))))
	  (command b "_Y");; change to N if you don't want to delete
	  )
	(setq itm (1+ itm))
	)
      (command "")
      )
    )
  (princ)
  )&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps&lt;BR /&gt;Henrique&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 16:48:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/5496313#M144065</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2015-02-05T16:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: imprint multiple objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/5496413#M144066</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;....&amp;nbsp; What does it mean to "imprint" a Line "into" a 3D Solid?&amp;nbsp; ....&lt;/BLOCKQUOTE&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;[Never mind me -- Imprint is a command in newer versions, that I wasn't familiar with, and hand't run into since I don't often&amp;nbsp;work in&amp;nbsp;3D.]&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 18:07:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/5496413#M144066</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2015-02-05T18:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: imprint multiple objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/9278617#M144067</link>
      <description>&lt;P&gt;That's awesome! Thanks for writing that, I've been wanting this for years! I know it was a quick write from you and you have the skills to include the choice of keeping or deleting the imprinted entities, I don't. For now I will just make a copy of them and re-merge them. Hard to believe Autodesk doesn't include the choice for multiple Imprints after all these years, hmm.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 06:21:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/9278617#M144067</guid>
      <dc:creator>rhgrafix</dc:creator>
      <dc:date>2020-01-28T06:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: imprint multiple objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/9278957#M144068</link>
      <description>&lt;P&gt;Untested...&lt;/P&gt;
&lt;PRE&gt;(defun c:demo (/ a ans b itm num ss ss1)
  (if (and (princ "\nSelect a 3D solid or surface: ")
	   (setq ss (ssget "_+.:E:S:L" '((0 . "3DSOLID,*SURFACE"))))
	   (princ "\nSelect objects to imprint: ")
	   (setq ss1 (ssget "_:L" '((0 . "ARC,CIRCLE,LINE,*POLYLINE,ELLIPSE,SPLINE,REGION,3DSOLID"))))
	   (progn
	     (initget "Y N")
	     (setq ans (cond ((getkword "\nDelete the source object [Yes/No] &amp;lt;N&amp;gt;: "))
			     ("Y")
		       )
	     )
	   )
      )
    (progn
      (setq itm	0
	    num	(sslength ss1)
      )
      (command "_.imprint" (setq a (ssname ss 0)))
      (while (&amp;lt; itm num)
	(if (not (eq a (setq b (ssname ss1 itm))))
	  (command b (strcat "_" ans))
	)
	(setq itm (1+ itm))
      )
      (command "")
    )
  )
  (princ)
)&lt;/PRE&gt;
&lt;P&gt;Hope this helps, &lt;BR /&gt;Henrique&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 10:12:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/9278957#M144068</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2020-01-30T10:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: imprint multiple objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/9280887#M144069</link>
      <description>&lt;P&gt;&amp;nbsp;That works perfectly! I did change one thing, the prompt asks: "Enter rotation angle" instead of: "Keep entities?"&amp;nbsp; I assume you pasted some code from a similar macro or something.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;R.L. Hamm&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 22:20:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/9280887#M144069</guid>
      <dc:creator>rhgrafix</dc:creator>
      <dc:date>2020-01-28T22:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: imprint multiple objects</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/9280995#M144070</link>
      <description>&lt;P&gt;&amp;nbsp;Actually if someone could add the choice to this shorter code, it would be the ultimate macro:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cadtutor.net/forum/topic/48753-command-imprint-for-multiple-objects/?do=findComment&amp;amp;comment=403024" target="_blank"&gt;https://www.cadtutor.net/forum/topic/48753-command-imprint-for-multiple-objects/?do=findComment&amp;amp;comment=403024&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-=(R)=-&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 23:33:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/imprint-multiple-objects/m-p/9280995#M144070</guid>
      <dc:creator>rhgrafix</dc:creator>
      <dc:date>2020-01-28T23:33:35Z</dc:date>
    </item>
  </channel>
</rss>

