<?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: Notify Manager - New Attribute? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237483#M5399</link>
    <description>This looks useful. Can I ask where the class AttributeSet is defined?&lt;BR /&gt;
&lt;BR /&gt;
I'm assuming it's in AttributeSet.hpp but I can't find it in the SDK(18.3006)&lt;BR /&gt;
&lt;BR /&gt;
Both the class is referenced and the header is included in headers in AttributeManager</description>
    <pubDate>Fri, 14 Aug 2015 02:32:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-14T02:32:54Z</dc:date>
    <item>
      <title>Notify Manager - New Attribute?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237481#M5397</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Can you catch if a user creates a new attribute similar to catching new elements? Like if I create a Layer/Layer Combo, it will have an event I can handle.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Erenford&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Aug 2023 11:54:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237481#M5397</guid>
      <dc:creator>Erenford</dc:creator>
      <dc:date>2023-08-01T11:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Notify Manager - New Attribute?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237482#M5398</link>
      <description>Hi Erenford, &lt;BR /&gt;
 &lt;BR /&gt;
implement an AttributeSetObserver to catch events of the AttributeManager: 
&lt;PRE&gt;#include "AttributeManager.hpp" 
 
class MyAttributeSetObserver : public ADB::AttributeSetObserver { 
public: 
	MyAttributeSetObserver (); 
	virtual ~MyAttributeSetObserver (); 
 
	virtual	void	AttributeCreated (ADB::IDAttribute attributeTypeId, ADB::GeneralAttributeConstRef attribute) override; 
	virtual	void	AttributeChanged (ADB::IDAttribute attributeTypeId, ADB::GeneralAttributeConstRef attribute, const FieldMask&amp;amp; changes) override; 
	virtual	void	AttributeDeleted (ADB::IDAttribute attributeTypeId, short index) override; 
 
	virtual void	ActiveAttributeChanged (ADB::IDAttribute attributeTypeId, const ADB::GeneralAttributeRef&amp;amp; attributeRef) override; 
 
	virtual void	AttributeTypeRestored (ADB::IDAttribute attributeTypeId) override; 
}; 
 
 
MyAttributeSetObserver::MyAttributeSetObserver() 
{ 
	ADB::AttributeSetConstRef attrSet = GetCurrentAttributeSet (); 
	attrSet(ODB::LogicalConst)-&amp;gt;Attach (*this); 
} 
 
 
MyAttributeSetObserver::~MyAttributeSetObserver() 
{ 
	ADB::AttributeSetConstRef attrSet = GetCurrentAttributeSet (); 
	attrSet(ODB::LogicalConst)-&amp;gt;Detach (*this); 
} 
 
// Implement observer methods!&lt;/PRE&gt; &lt;BR /&gt;
Regards, &lt;BR /&gt;
Tibor</description>
      <pubDate>Tue, 13 Jan 2015 10:13:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237482#M5398</guid>
      <dc:creator>Tibor Lorantfy</dc:creator>
      <dc:date>2015-01-13T10:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Notify Manager - New Attribute?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237483#M5399</link>
      <description>This looks useful. Can I ask where the class AttributeSet is defined?&lt;BR /&gt;
&lt;BR /&gt;
I'm assuming it's in AttributeSet.hpp but I can't find it in the SDK(18.3006)&lt;BR /&gt;
&lt;BR /&gt;
Both the class is referenced and the header is included in headers in AttributeManager</description>
      <pubDate>Fri, 14 Aug 2015 02:32:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237483#M5399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-14T02:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Notify Manager - New Attribute?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237484#M5400</link>
      <description>Any info on where this AttributeSet class is defined?</description>
      <pubDate>Fri, 21 Aug 2015 01:00:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237484#M5400</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-21T01:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Notify Manager - New Attribute?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237485#M5401</link>
      <description>&lt;BLOCKQUOTE&gt;MarkHenryC wrote:&lt;BR /&gt;Any info on where this AttributeSet class is defined?&lt;/BLOCKQUOTE&gt;

This is not part of the public API; what do you need that for?&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Fri, 02 Oct 2015 11:20:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237485#M5401</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2015-10-02T11:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Notify Manager - New Attribute?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237486#M5402</link>
      <description>I was hoping it might provide a notification when layer status has changed, such a hiding or showing. If done via main menu there's no notification.</description>
      <pubDate>Fri, 02 Oct 2015 19:49:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237486#M5402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-02T19:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Notify Manager - New Attribute?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237487#M5403</link>
      <description>&lt;BLOCKQUOTE&gt;MarkHenryC wrote:&lt;BR /&gt;I was hoping it might provide a notification when layer status has changed, such a hiding or showing. If done via main menu there's no notification.&lt;/BLOCKQUOTE&gt;

Thanks!&lt;BR /&gt;
&lt;BR /&gt;
And what would you like to do when the notification arrives?&lt;BR /&gt;
&lt;BR /&gt;
Best, Akos</description>
      <pubDate>Mon, 05 Oct 2015 08:44:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237487#M5403</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2015-10-05T08:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Notify Manager - New Attribute?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237488#M5404</link>
      <description>I'd like to update the current render session. Notifications work fine when making changes to scene elements, but switching off a layer via the menu bypasses this system.</description>
      <pubDate>Mon, 05 Oct 2015 20:14:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237488#M5404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-05T20:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Notify Manager - New Attribute?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237489#M5405</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have a very similar problem and I am curious if there is any update here (SDK - AC21) or is it still an "internal function"?&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Piotr</description>
      <pubDate>Mon, 19 Mar 2018 16:17:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Notify-Manager-New-Attribute/m-p/237489#M5405</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-19T16:17:53Z</dc:date>
    </item>
  </channel>
</rss>

