<?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 ACAPI_Attribute_Modify may not modify some kinds of layer in teamwork mode in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Attribute-Modify-may-not-modify-some-kinds-of-layer-in/m-p/329841#M1430</link>
    <description>&lt;P&gt;This is a report.&lt;BR /&gt;In teamwork mode, if the layer object set is not reserved, a layer localy created and not sent could not be modified by the ACAPI_Attribute_Modify.&lt;BR /&gt;In such case, ACAPI_Attribute_Modify returns 0(=NoError). But though I immediately got the layer parameters by ACAPI_Attribute_Get, nothing had changed in them.&lt;BR /&gt;Instead of ACAPI_Attribute_Modify, I was able to modify the layer by attribute delete/create API functions. (Actually, it is need some additional code to avoid deleting the element associated with the layer we're modifying.)&lt;BR /&gt;The flags field in this layer had the APIAttr_IsClientCreated flag was ON. In the API_Attr_Head document, description of the APIAttr_IsClientCreated says that "such an attribute can still be modified or deleted in teamwork mode". But it seems has some restrictions.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Feb 2022 01:52:57 GMT</pubDate>
    <dc:creator>Ryo-H</dc:creator>
    <dc:date>2022-02-14T01:52:57Z</dc:date>
    <item>
      <title>ACAPI_Attribute_Modify may not modify some kinds of layer in teamwork mode</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Attribute-Modify-may-not-modify-some-kinds-of-layer-in/m-p/329841#M1430</link>
      <description>&lt;P&gt;This is a report.&lt;BR /&gt;In teamwork mode, if the layer object set is not reserved, a layer localy created and not sent could not be modified by the ACAPI_Attribute_Modify.&lt;BR /&gt;In such case, ACAPI_Attribute_Modify returns 0(=NoError). But though I immediately got the layer parameters by ACAPI_Attribute_Get, nothing had changed in them.&lt;BR /&gt;Instead of ACAPI_Attribute_Modify, I was able to modify the layer by attribute delete/create API functions. (Actually, it is need some additional code to avoid deleting the element associated with the layer we're modifying.)&lt;BR /&gt;The flags field in this layer had the APIAttr_IsClientCreated flag was ON. In the API_Attr_Head document, description of the APIAttr_IsClientCreated says that "such an attribute can still be modified or deleted in teamwork mode". But it seems has some restrictions.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 01:52:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Attribute-Modify-may-not-modify-some-kinds-of-layer-in/m-p/329841#M1430</guid>
      <dc:creator>Ryo-H</dc:creator>
      <dc:date>2022-02-14T01:52:57Z</dc:date>
    </item>
  </channel>
</rss>

