<?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 c# Programmatically select all entities and copy them to the clipboard in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/c-programmatically-select-all-entities-and-copy-them-to-the/m-p/11077177#M13303</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a program that does several things, and at the end, I want it to select all the resulting entities on the drawing and put them on the clipboard (lines, blocks, and text). This way, the user simply needs to paste the result wherever they need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just looking for the correct syntax for selecting items and for setting the clipboard.&lt;/P&gt;&lt;P&gt;Clipboard.SetData (for all data in the drawing)? What format should be used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 01 Apr 2022 17:40:22 GMT</pubDate>
    <dc:creator>mcoH3VZV</dc:creator>
    <dc:date>2022-04-01T17:40:22Z</dc:date>
    <item>
      <title>c# Programmatically select all entities and copy them to the clipboard</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-programmatically-select-all-entities-and-copy-them-to-the/m-p/11077177#M13303</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a program that does several things, and at the end, I want it to select all the resulting entities on the drawing and put them on the clipboard (lines, blocks, and text). This way, the user simply needs to paste the result wherever they need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am just looking for the correct syntax for selecting items and for setting the clipboard.&lt;/P&gt;&lt;P&gt;Clipboard.SetData (for all data in the drawing)? What format should be used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 17:40:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-programmatically-select-all-entities-and-copy-them-to-the/m-p/11077177#M13303</guid>
      <dc:creator>mcoH3VZV</dc:creator>
      <dc:date>2022-04-01T17:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: c# Programmatically select all entities and copy them to the clipboard</title>
      <link>https://forums.autodesk.com/t5/net-forum/c-programmatically-select-all-entities-and-copy-them-to-the/m-p/11077204#M13304</link>
      <description>&lt;P&gt;There's a lot of sample code for making selections.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For clipboard though, you might consider COPYBASE Command instead; you can supply base point programmatically, or prompt user to specify a point, to make it easier for them to paste into their drawing where they need.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2022 17:53:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/c-programmatically-select-all-entities-and-copy-them-to-the/m-p/11077204#M13304</guid>
      <dc:creator>BlackBox_</dc:creator>
      <dc:date>2022-04-01T17:53:27Z</dc:date>
    </item>
  </channel>
</rss>

