<?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 Getting view offset from PMK file in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-view-offset-from-PMK-file/m-p/288634#M2208</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I would like to ask your help to understand the question of how to link a drawing view with a model, if the view is set through the PMK file.&lt;BR /&gt;I check linkTypeID:&lt;BR /&gt;if ( drawingLinkInfo-&amp;gt; linkTypeID == API_DrawingLink_PMKID)&lt;BR /&gt;{&lt;BR /&gt;if (drawingLinkInfo-&amp;gt;viewType == API_ViewNodeStory)&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;here I am using drawing.offset as offset and also &lt;BR /&gt;&lt;BR /&gt;In the usual case (if the view is set directly in the model, I use getting the View through the navigator)&lt;BR /&gt;and get offset also from view. But it doesn't work with PMK files.&lt;BR /&gt;if (ACAPI_Navigator (APINavigator_GetNavigatorItemID, &amp;amp; drawingLinkInfo-&amp;gt; linkGuid, &amp;amp; item)&lt;BR /&gt;{&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Please tell me how can I get the linking matrix to the model from the PMK file?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/DIV&gt;</description>
    <pubDate>Tue, 14 Sep 2021 07:24:22 GMT</pubDate>
    <dc:creator>Andrey Shulyak</dc:creator>
    <dc:date>2021-09-14T07:24:22Z</dc:date>
    <item>
      <title>Getting view offset from PMK file</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-view-offset-from-PMK-file/m-p/288634#M2208</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;I would like to ask your help to understand the question of how to link a drawing view with a model, if the view is set through the PMK file.&lt;BR /&gt;I check linkTypeID:&lt;BR /&gt;if ( drawingLinkInfo-&amp;gt; linkTypeID == API_DrawingLink_PMKID)&lt;BR /&gt;{&lt;BR /&gt;if (drawingLinkInfo-&amp;gt;viewType == API_ViewNodeStory)&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;here I am using drawing.offset as offset and also &lt;BR /&gt;&lt;BR /&gt;In the usual case (if the view is set directly in the model, I use getting the View through the navigator)&lt;BR /&gt;and get offset also from view. But it doesn't work with PMK files.&lt;BR /&gt;if (ACAPI_Navigator (APINavigator_GetNavigatorItemID, &amp;amp; drawingLinkInfo-&amp;gt; linkGuid, &amp;amp; item)&lt;BR /&gt;{&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Please tell me how can I get the linking matrix to the model from the PMK file?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 07:24:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Getting-view-offset-from-PMK-file/m-p/288634#M2208</guid>
      <dc:creator>Andrey Shulyak</dc:creator>
      <dc:date>2021-09-14T07:24:22Z</dc:date>
    </item>
  </channel>
</rss>

