<?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 drawing scale [SOLVED] in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/drawing-scale-SOLVED/m-p/123061#M5864</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;I am trying to add drawing using the API. I am able to do so but the scale of the drawing done with the API is not the same as manually doing it (drag-drop). &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;(See attached image file.)&lt;BR /&gt;&lt;BR /&gt;The first image (above) is done manually while the second image (below) is done using &lt;FONT color="#808080"&gt;&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_Create()&lt;/FONT&gt; function.&lt;BR /&gt;&lt;BR /&gt;I have already tried modifying the &lt;FONT color="#808080"&gt;&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ratio&lt;/FONT&gt; value of the drawing element but it just zoomed the second image instead.&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/74131i076A2ABF6019A0B6/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;</description>
    <pubDate>Tue, 01 Aug 2023 14:37:12 GMT</pubDate>
    <dc:creator>ReignBough</dc:creator>
    <dc:date>2023-08-01T14:37:12Z</dc:date>
    <item>
      <title>drawing scale [SOLVED]</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/drawing-scale-SOLVED/m-p/123061#M5864</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I am trying to add drawing using the API. I am able to do so but the scale of the drawing done with the API is not the same as manually doing it (drag-drop). &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;(See attached image file.)&lt;BR /&gt;&lt;BR /&gt;The first image (above) is done manually while the second image (below) is done using &lt;FONT color="#808080"&gt;&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_Create()&lt;/FONT&gt; function.&lt;BR /&gt;&lt;BR /&gt;I have already tried modifying the &lt;FONT color="#808080"&gt;&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ratio&lt;/FONT&gt; value of the drawing element but it just zoomed the second image instead.&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/74131i076A2ABF6019A0B6/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;</description>
      <pubDate>Tue, 01 Aug 2023 14:37:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/drawing-scale-SOLVED/m-p/123061#M5864</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2023-08-01T14:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: drawing scale</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/drawing-scale-SOLVED/m-p/123062#M5865</link>
      <description>It seems like the API-generated drawing's scale is based on the original floor plan scale.&lt;BR /&gt;
&lt;BR /&gt;
The attached picture is a screenshot of the lower-right of the floor plan and the same API-generated drawing. They are of the same scale.&lt;BR /&gt;
&lt;BR /&gt;
Now, how to set this API-generated drawing to the same scale as the first post (the detail's scale) is still unknown [to me, at least].&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;EDIT&lt;/B&gt;&lt;BR /&gt;
Is there a way to set the &lt;FONT color="#808080"&gt;&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_DrawingType.drawingScale&lt;E&gt;&lt;/E&gt;&lt;/FONT&gt; (Drawing Scale in Properties) and/or &lt;FONT color="#808080"&gt;&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_DrawingType.parentOriginalScale&lt;E&gt;&lt;/E&gt;&lt;/FONT&gt; (Original Scale in Properties) before creating the drawing element (&lt;FONT color="#808080"&gt;&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_Create()&lt;E&gt;&lt;/E&gt;&lt;/FONT&gt;)?&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/10295iD131E33CA98A6DD4/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;</description>
      <pubDate>Wed, 15 Jan 2014 05:46:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/drawing-scale-SOLVED/m-p/123062#M5865</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2014-01-15T05:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: drawing scale</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/drawing-scale-SOLVED/m-p/123063#M5866</link>
      <description>I figured it out.&lt;BR /&gt;
&lt;BR /&gt;
What I initially have done was create a drawing element using an item's GUID from Project Map (&lt;FONT color="#808080"&gt;API_ProjectMap&lt;/FONT&gt;).&lt;BR /&gt;
&lt;BR /&gt;
It is supposed to be from View Map (&lt;FONT color="#808080"&gt;API_PublicViewMap&lt;/FONT&gt;).</description>
      <pubDate>Wed, 15 Jan 2014 10:07:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/drawing-scale-SOLVED/m-p/123063#M5866</guid>
      <dc:creator>ReignBough</dc:creator>
      <dc:date>2014-01-15T10:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: drawing scale [SOLVED]</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/drawing-scale-SOLVED/m-p/123064#M5867</link>
      <description>I don't know the API, I am not a programmer, but the View Map makes sense as it stores the scale, while the Project Map always works with the currently active scale, which can give unintended results.</description>
      <pubDate>Wed, 15 Jan 2014 19:49:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/drawing-scale-SOLVED/m-p/123064#M5867</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2014-01-15T19:49:13Z</dc:date>
    </item>
  </channel>
</rss>

