<?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 Create a Drawing from a file? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Create-a-Drawing-from-a-file/m-p/298546#M5039</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;How do you link a drawing to an external file? On ArchiCAD you just click on "an external source" -&amp;gt; click "Browse" -&amp;gt; choose the file. How do you do this with the API? &lt;BR /&gt;&lt;BR /&gt;What are the requirements? Creating a drawing from a view is simply by copying the view's guid to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;drawing.drawingGuid and you're done, is it the same with a file? I've looked into &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;API_DrawingLinkInfo but it seems there is only a "Get" function and no "Set".&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/DIV&gt;</description>
    <pubDate>Wed, 12 Jul 2023 19:04:17 GMT</pubDate>
    <dc:creator>Erenford</dc:creator>
    <dc:date>2023-07-12T19:04:17Z</dc:date>
    <item>
      <title>Create a Drawing from a file?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Create-a-Drawing-from-a-file/m-p/298546#M5039</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;How do you link a drawing to an external file? On ArchiCAD you just click on "an external source" -&amp;gt; click "Browse" -&amp;gt; choose the file. How do you do this with the API? &lt;BR /&gt;&lt;BR /&gt;What are the requirements? Creating a drawing from a view is simply by copying the view's guid to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;drawing.drawingGuid and you're done, is it the same with a file? I've looked into &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;API_DrawingLinkInfo but it seems there is only a "Get" function and no "Set".&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Jul 2023 19:04:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Create-a-Drawing-from-a-file/m-p/298546#M5039</guid>
      <dc:creator>Erenford</dc:creator>
      <dc:date>2023-07-12T19:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create a Drawing from a file?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Create-a-Drawing-from-a-file/m-p/298547#M5040</link>
      <description>&lt;BLOCKQUOTE&gt;Erenford wrote:&lt;BR /&gt;How do you link a drawing to an external file? On ArchiCAD you just click on "an external source" -&amp;gt; click "Browse" -&amp;gt; choose the file. How do you do this with the API? &lt;BR /&gt;
&lt;BR /&gt;
What are the requirements? Creating a drawing from a view is simply by copying the view's guid to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;drawing.drawingGuid&lt;E&gt;&lt;/E&gt; and you're done, is it the same with a file? I've looked into &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;API_DrawingLinkInfo&lt;E&gt;&lt;/E&gt; but it seems there is only a "Get" function and no "Set".&lt;BR /&gt;
&lt;BR /&gt;
Thanks.&lt;/BLOCKQUOTE&gt;

Hi All,&lt;BR /&gt;
&lt;BR /&gt;
I am also interested to know if there is anyway to set/relink an external file of a drawing using API.&lt;BR /&gt;
I am using ArchiCAD 21.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Hoa</description>
      <pubDate>Wed, 10 Jan 2018 23:26:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Create-a-Drawing-from-a-file/m-p/298547#M5040</guid>
      <dc:creator>Hoa Tu</dc:creator>
      <dc:date>2018-01-10T23:26:51Z</dc:date>
    </item>
  </channel>
</rss>

