<?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 How to change Beam material in AC23? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-Beam-material-in-AC23/m-p/278438#M3328</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;In AC22 API_BeamType contained attributes below:&lt;BR /&gt;API_OverriddenAttribute leftMat;&lt;BR /&gt;API_OverriddenAttribute topMat;&lt;BR /&gt;API_OverriddenAttribute rightMat;&lt;BR /&gt;API_OverriddenAttribute botMat;&lt;BR /&gt;API_OverriddenAttribute sideMat;&lt;BR /&gt;&lt;BR /&gt;The following code was able to change the material:&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, leftMat);&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, botMat);&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, topMat);&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, sideMat);&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, rightMat);&lt;BR /&gt;OVERRIDE_MATERIAL(clickedElement.beam.leftMat, paletteController.CurrentMaterial()-&amp;gt;index);&lt;BR /&gt;OVERRIDE_MATERIAL(clickedElement.beam.botMat, paletteController.CurrentMaterial()-&amp;gt;index);&lt;BR /&gt;OVERRIDE_MATERIAL(clickedElement.beam.topMat, paletteController.CurrentMaterial()-&amp;gt;index);&lt;BR /&gt;OVERRIDE_MATERIAL(clickedElement.beam.sideMat, paletteController.CurrentMaterial()-&amp;gt;index);&lt;BR /&gt;OVERRIDE_MATERIAL(clickedElement.beam.rightMat, paletteController.CurrentMaterial()-&amp;gt;index);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In AC23 which attributes should be changed to modify API_BeamType material?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/DIV&gt;</description>
    <pubDate>Thu, 29 Sep 2022 07:50:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-29T07:50:28Z</dc:date>
    <item>
      <title>How to change Beam material in AC23?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-Beam-material-in-AC23/m-p/278438#M3328</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;In AC22 API_BeamType contained attributes below:&lt;BR /&gt;API_OverriddenAttribute leftMat;&lt;BR /&gt;API_OverriddenAttribute topMat;&lt;BR /&gt;API_OverriddenAttribute rightMat;&lt;BR /&gt;API_OverriddenAttribute botMat;&lt;BR /&gt;API_OverriddenAttribute sideMat;&lt;BR /&gt;&lt;BR /&gt;The following code was able to change the material:&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, leftMat);&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, botMat);&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, topMat);&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, sideMat);&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(elementMask, API_BeamType, rightMat);&lt;BR /&gt;OVERRIDE_MATERIAL(clickedElement.beam.leftMat, paletteController.CurrentMaterial()-&amp;gt;index);&lt;BR /&gt;OVERRIDE_MATERIAL(clickedElement.beam.botMat, paletteController.CurrentMaterial()-&amp;gt;index);&lt;BR /&gt;OVERRIDE_MATERIAL(clickedElement.beam.topMat, paletteController.CurrentMaterial()-&amp;gt;index);&lt;BR /&gt;OVERRIDE_MATERIAL(clickedElement.beam.sideMat, paletteController.CurrentMaterial()-&amp;gt;index);&lt;BR /&gt;OVERRIDE_MATERIAL(clickedElement.beam.rightMat, paletteController.CurrentMaterial()-&amp;gt;index);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In AC23 which attributes should be changed to modify API_BeamType material?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Sep 2022 07:50:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-Beam-material-in-AC23/m-p/278438#M3328</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-29T07:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to change Beam material in AC23?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-Beam-material-in-AC23/m-p/278439#M3329</link>
      <description>Beams and columns become assemblies in AC23, comprised of a parent assembly (API_BeamType) and at least one child segment element (API_BeamSegmentType) and that's the level where the materials etc are stored. So you need to work with &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_BeamSegmentType&lt;E&gt;&lt;/E&gt; for this purpose rather than &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_BeamType&lt;E&gt;&lt;/E&gt;.</description>
      <pubDate>Tue, 10 Dec 2019 11:13:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-Beam-material-in-AC23/m-p/278439#M3329</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2019-12-10T11:13:55Z</dc:date>
    </item>
  </channel>
</rss>

