<?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 Defaut wall when use toolbox in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Defaut-wall-when-use-toolbox/m-p/373202#M731</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;Base of examples, i use a function to change the selection in the ToolBox, for example to wall.&amp;nbsp; Is it possible to select a different wall than the one that displays&amp;nbsp; in the info panel,&amp;nbsp; in the structure field?&amp;nbsp; I mean: to change default/current wall to different one?&lt;/P&gt;
&lt;P&gt;He is the function i use to set the&amp;nbsp;ToolBox.&lt;/P&gt;
&lt;P&gt;To call walls I use:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;Set_My_toolbox(API_WallID), to call beams: Set_My_toolbox(API_WallID);

funcxtion:

void Set_My_toolbox(API_ElemTypeID elemTypeID)
{
API_ToolBoxItem tboxInfo;
GSErrCode err;

BNZeroMemory(&amp;amp;tboxInfo, sizeof(API_ToolBoxItem));
tboxInfo.type = elemTypeID;
err = ACAPI_Environment(APIEnv_SetToolBoxModeID, &amp;amp;tboxInfo, nullptr, nullptr);
if (err == NoError) {
GS::UniString my_name = ElemID_To_Name(tboxInfo.type.typeID);
ACAPI_WriteReport(my_name, true);
}
}&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 22 Mar 2023 00:49:29 GMT</pubDate>
    <dc:creator>Lawoks</dc:creator>
    <dc:date>2023-03-22T00:49:29Z</dc:date>
    <item>
      <title>Defaut wall when use toolbox</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Defaut-wall-when-use-toolbox/m-p/373202#M731</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;
&lt;P&gt;Base of examples, i use a function to change the selection in the ToolBox, for example to wall.&amp;nbsp; Is it possible to select a different wall than the one that displays&amp;nbsp; in the info panel,&amp;nbsp; in the structure field?&amp;nbsp; I mean: to change default/current wall to different one?&lt;/P&gt;
&lt;P&gt;He is the function i use to set the&amp;nbsp;ToolBox.&lt;/P&gt;
&lt;P&gt;To call walls I use:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;Set_My_toolbox(API_WallID), to call beams: Set_My_toolbox(API_WallID);

funcxtion:

void Set_My_toolbox(API_ElemTypeID elemTypeID)
{
API_ToolBoxItem tboxInfo;
GSErrCode err;

BNZeroMemory(&amp;amp;tboxInfo, sizeof(API_ToolBoxItem));
tboxInfo.type = elemTypeID;
err = ACAPI_Environment(APIEnv_SetToolBoxModeID, &amp;amp;tboxInfo, nullptr, nullptr);
if (err == NoError) {
GS::UniString my_name = ElemID_To_Name(tboxInfo.type.typeID);
ACAPI_WriteReport(my_name, true);
}
}&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 22 Mar 2023 00:49:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Defaut-wall-when-use-toolbox/m-p/373202#M731</guid>
      <dc:creator>Lawoks</dc:creator>
      <dc:date>2023-03-22T00:49:29Z</dc:date>
    </item>
  </channel>
</rss>

