<?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 ConvHatchToPoly missing from AC 13 DevKit in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/ConvHatchToPoly-missing-from-AC-13-DevKit/m-p/135648#M6789</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;ArchiCAD 12 DevKit has ConvHatchToPoly function in vectorimagedata.h&lt;BR /&gt;&lt;BR /&gt;I cannot find it from ArchiCAD 13 DevKit. What to do??&lt;BR /&gt;&lt;BR /&gt;I have used it in conversion of VectorImage profiles: &lt;BR /&gt;&lt;BR /&gt;1. Find Hatch from VectorImage using ConstVectorImageIterator &lt;BR /&gt;&lt;BR /&gt;2. Convert the hatch to Geometry::Polygon2DData using &lt;STRONG&gt;ConvHatchToPoly&lt;/STRONG&gt; &lt;BR /&gt;&lt;BR /&gt;3. Convert the Polygon2DData to coordinates using Geometry::Polygon2DDataToPolyline&lt;/DIV&gt;</description>
    <pubDate>Thu, 03 Aug 2023 11:23:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-08-03T11:23:25Z</dc:date>
    <item>
      <title>ConvHatchToPoly missing from AC 13 DevKit</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ConvHatchToPoly-missing-from-AC-13-DevKit/m-p/135648#M6789</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;ArchiCAD 12 DevKit has ConvHatchToPoly function in vectorimagedata.h&lt;BR /&gt;&lt;BR /&gt;I cannot find it from ArchiCAD 13 DevKit. What to do??&lt;BR /&gt;&lt;BR /&gt;I have used it in conversion of VectorImage profiles: &lt;BR /&gt;&lt;BR /&gt;1. Find Hatch from VectorImage using ConstVectorImageIterator &lt;BR /&gt;&lt;BR /&gt;2. Convert the hatch to Geometry::Polygon2DData using &lt;STRONG&gt;ConvHatchToPoly&lt;/STRONG&gt; &lt;BR /&gt;&lt;BR /&gt;3. Convert the Polygon2DData to coordinates using Geometry::Polygon2DDataToPolyline&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Aug 2023 11:23:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ConvHatchToPoly-missing-from-AC-13-DevKit/m-p/135648#M6789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-03T11:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: ConvHatchToPoly missing from AC 13 DevKit</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ConvHatchToPoly-missing-from-AC-13-DevKit/m-p/135649#M6790</link>
      <description>&lt;BLOCKQUOTE&gt;Matti wrote:&lt;BR /&gt;ArchiCAD 12 DevKit has ConvHatchToPoly function in vectorimagedata.h&lt;BR /&gt;
I cannot find it from ArchiCAD 13 DevKit. What to do??&lt;BR /&gt;
I have used it in conversion of VectorImage profiles: &lt;/BLOCKQUOTE&gt;
I'm not sure what happened to those functions, but you can achieve the same results using &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_ShapePrims&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Mon, 09 Nov 2009 14:45:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ConvHatchToPoly-missing-from-AC-13-DevKit/m-p/135649#M6790</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2009-11-09T14:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: ConvHatchToPoly missing from AC 13 DevKit</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ConvHatchToPoly-missing-from-AC-13-DevKit/m-p/135650#M6791</link>
      <description>Thanks for the fast answer. What should I pass as elemHead when I want to extract the points of a beam profile which profileType is APISect_Poly?&lt;BR /&gt;
&lt;BR /&gt;
ACAPI_Element_ShapePrims definition:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;    GSErrCode  ACAPI_Element_ShapePrims (
        const API_Elem_Head&amp;amp;     elemHead,
        ShapePrimsProc*           shapePrimsProc
    );
&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Nov 2009 09:23:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ConvHatchToPoly-missing-from-AC-13-DevKit/m-p/135650#M6791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-10T09:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: ConvHatchToPoly missing from AC 13 DevKit</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ConvHatchToPoly-missing-from-AC-13-DevKit/m-p/135651#M6792</link>
      <description>&lt;BLOCKQUOTE&gt;Matti wrote:&lt;BR /&gt;Thanks for the fast answer. What should I pass as elemHead when I want to extract the points of a beam profile which profileType is APISect_Poly?&lt;/BLOCKQUOTE&gt;
Sorry, misunderstood what you are trying to do. Have you looked at the 'Attribute_Test' project in the API examples? This shows how you gain access to all the primitives in the vector image. You can extract the coordinates for hatches using the Sy_HatchType structure.</description>
      <pubDate>Tue, 10 Nov 2009 12:00:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ConvHatchToPoly-missing-from-AC-13-DevKit/m-p/135651#M6792</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2009-11-10T12:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: ConvHatchToPoly missing from AC 13 DevKit (Solved)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ConvHatchToPoly-missing-from-AC-13-DevKit/m-p/135652#M6793</link>
      <description>In ArchiCAD 13 DevKit &lt;B&gt;ConvHatchToPoly&lt;/B&gt; is moved to ProfileAdditionalInfo.hpp</description>
      <pubDate>Fri, 04 Dec 2009 08:51:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ConvHatchToPoly-missing-from-AC-13-DevKit/m-p/135652#M6793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-12-04T08:51:09Z</dc:date>
    </item>
  </channel>
</rss>

