<?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 Re: Is it possible to create a profile column wall with api c++? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Is-it-possible-to-create-a-profile-column-wall-with-api-c/m-p/394517#M1016</link>
    <description>&lt;P&gt;Here is a full example of creating a composite wall:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;ACAPI_CallUndoableCommand (undoStepName, [&amp;amp;]() -&amp;gt; GSErrCode {
    // Get the default settings of the Wall element. Every parameter you doesn't specify
    // will come from the default element.
    API_Element element = {};
    element.header.type = API_ElemType (API_WallID);
    if (ACAPI_Element_GetDefaults (&amp;amp;element, nullptr) != NoError) {
        return Error;
    }

    // Set the Wall to be Composite type, and set the Composite index you would like
    // the Wall to have. The Composite index must be determined by your own logic.
    element.wall.modelElemStructureType = API_CompositeStructure;
    element.wall.composite = compositeIndex;

    // Set the begin and end point of the Wall's geometry.
    element.wall.begC = { 0.0, 0.0 };
    element.wall.endC = { 1.0, 0.0 };

    // Create the element.
    if (ACAPI_Element_Create (&amp;amp;element, nullptr) != NoError) {
        return Error;
    }

    return NoError;
});&lt;/LI-CODE&gt;
&lt;P&gt;.To create a profiled one, change these lines.&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;        element.wall.modelElemStructureType = API_ProfileStructure;
        element.wall.composite = profileIndex;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2023 05:18:43 GMT</pubDate>
    <dc:creator>Viktor Kovacs</dc:creator>
    <dc:date>2023-08-08T05:18:43Z</dc:date>
    <item>
      <title>Is it possible to create a profile column wall with api c++?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Is-it-possible-to-create-a-profile-column-wall-with-api-c/m-p/394504#M1015</link>
      <description>&lt;P&gt;Is it possible to create a profile column wall with api c++?&lt;BR /&gt;If possible, which sample file should I study?&lt;BR /&gt;You told me that wall composite files are possible.&lt;BR /&gt;So, I'm curious about whether a wall column beam profile is possible, so I'm asking.&lt;BR /&gt;If possible, I would appreciate it if you could let me know what part I need to study.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 03:17:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Is-it-possible-to-create-a-profile-column-wall-with-api-c/m-p/394504#M1015</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-08-08T03:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create a profile column wall with api c++?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Is-it-possible-to-create-a-profile-column-wall-with-api-c/m-p/394517#M1016</link>
      <description>&lt;P&gt;Here is a full example of creating a composite wall:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;ACAPI_CallUndoableCommand (undoStepName, [&amp;amp;]() -&amp;gt; GSErrCode {
    // Get the default settings of the Wall element. Every parameter you doesn't specify
    // will come from the default element.
    API_Element element = {};
    element.header.type = API_ElemType (API_WallID);
    if (ACAPI_Element_GetDefaults (&amp;amp;element, nullptr) != NoError) {
        return Error;
    }

    // Set the Wall to be Composite type, and set the Composite index you would like
    // the Wall to have. The Composite index must be determined by your own logic.
    element.wall.modelElemStructureType = API_CompositeStructure;
    element.wall.composite = compositeIndex;

    // Set the begin and end point of the Wall's geometry.
    element.wall.begC = { 0.0, 0.0 };
    element.wall.endC = { 1.0, 0.0 };

    // Create the element.
    if (ACAPI_Element_Create (&amp;amp;element, nullptr) != NoError) {
        return Error;
    }

    return NoError;
});&lt;/LI-CODE&gt;
&lt;P&gt;.To create a profiled one, change these lines.&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;        element.wall.modelElemStructureType = API_ProfileStructure;
        element.wall.composite = profileIndex;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 05:18:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Is-it-possible-to-create-a-profile-column-wall-with-api-c/m-p/394517#M1016</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2023-08-08T05:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create a profile column wall with api c++?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Is-it-possible-to-create-a-profile-column-wall-with-api-c/m-p/394560#M1017</link>
      <description>&lt;P&gt;thank you ^^&lt;BR /&gt;sorry.&lt;BR /&gt;I've been asking to make a STYLE.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1691496726448.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/44361iF5C9C0FCFE785167/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1691496726448.png" alt="LeeJaeYoung_0-1691496726448.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2023 12:13:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Is-it-possible-to-create-a-profile-column-wall-with-api-c/m-p/394560#M1017</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-08-08T12:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create a profile column wall with api c++?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Is-it-possible-to-create-a-profile-column-wall-with-api-c/m-p/394622#M1018</link>
      <description>&lt;P&gt;Ok, I see, you would like to create a Profile Attribute. It's a bit more tricky, please check the &lt;FONT face="courier new,courier"&gt;Attribute_Test&lt;/FONT&gt; example Add-On, and see the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Do_CreateProfile&lt;/FONT&gt; function for an example.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 05:55:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Is-it-possible-to-create-a-profile-column-wall-with-api-c/m-p/394622#M1018</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2023-08-09T05:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create a profile column wall with api c++?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Is-it-possible-to-create-a-profile-column-wall-with-api-c/m-p/394640#M1019</link>
      <description>&lt;P&gt;thank you&lt;BR /&gt;After studying, I will ask you another question. ^^&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 10:29:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Is-it-possible-to-create-a-profile-column-wall-with-api-c/m-p/394640#M1019</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-08-09T10:29:04Z</dc:date>
    </item>
  </channel>
</rss>

