<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Microstation connect ElementChangedEvent ChangeTrackKind</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/154400/microstation-connect-elementchangedevent-changetrackkind</link><description>Hi, 
 I overloaded the ElementChangedEvent event and get a ChangeTrackKind value in eventargs.Change 
 Delete = 1, Add = 2, Modify = 3, ModifyFence = 5, Mark = 7, ModelAdd = 9, ModelDelete = 10, AddXAttribute = 11, DeleteXAttribute = 12, ModifyXAttribute</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Microstation connect ElementChangedEvent ChangeTrackKind</title><link>https://communities.bentley.com/thread/461143?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 15:13:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:367399d1-ffc0-40c0-9e12-ba59380250d2</guid><dc:creator>Jan Šlegr</dc:creator><description>[quote userid="711769" url="~/products/programming/microstation_programming/f/microstation-programming---forum/154400/microstation-connect-elementchangedevent-changetrackkind/461141"]That&amp;#39;s what I searched[/quote]
&lt;p&gt;When using MicroStationNET API, C++ API documentation provides often better and more precise information than NET documentation itself. NET API is only a wrapper on C++ API, so plenty of features have the same (or very similar) structures and values. Not always, e.g. there are no ElementHandlers / EditElementHandlers, but they are implemented as particular classes, but even in such case there is some concept that can be used to find more information in C++ doc.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Microstation connect ElementChangedEvent ChangeTrackKind</title><link>https://communities.bentley.com/thread/461141?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 15:09:41 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:db75b0f8-52e0-4109-b79d-cd86da6dee2c</guid><dc:creator>Markus Hannweber</dc:creator><description>&lt;p&gt;Thanks a lot. That&amp;#39;s what I searched&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Microstation connect ElementChangedEvent ChangeTrackKind</title><link>https://communities.bentley.com/thread/461139?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 15:07:41 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fdb0e5b0-9963-4e1a-aee4-3a95194994c9</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Markus,&lt;/p&gt;
&lt;p&gt;from MicroStationAPI DgnPlatform.h header file:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;enum class ChangeTrackAction
{
    Delete            = 1,  //!&amp;lt; An element was deleted from the file.
    Add               = 2,  //!&amp;lt; An element was added to the file.
    Modify            = 3,  //!&amp;lt; An existing element was changed and rewritten to the file in place.
    AddComplete       = 4,  //!&amp;lt; An element (and its xattributes) were added to the file.
    ModifyFence       = 5,  //!&amp;lt; The fence was modified.
    Mark              = 7,  //!&amp;lt; Used to delineate commands in undo buffer.
    ModelAdd          = 9,  //!&amp;lt; A model was added to the file.
    ModelDelete       = 10, //!&amp;lt; A model was deleted from the file.
    XAttributeAdd     = 11, //!&amp;lt; An XAttribute was addeed to an element.
    XAttributeDelete  = 12, //!&amp;lt; An XAttribute was deleted from an element.
    XAttributeModify  = 13, //!&amp;lt; some part of the XAttribute was modified.
    XAttributeReplace = 14, //!&amp;lt; An XAttribute was replaced.
    ModelPropModify   = 15, //!&amp;lt; A model&amp;#39;s properties were modified.
    CustomEntry       = 16, //!&amp;lt; Application data held in the undo buffer (\em not an element-level change to the file).
    ModifyComplete    = 17, //!&amp;lt; An existing element (and its xattributes) were changed and rewritten to the file in place.
    Last              = ChangeTrackAction::ModifyComplete,
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Microstation connect ElementChangedEvent ChangeTrackKind</title><link>https://communities.bentley.com/thread/461136?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 14:56:28 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:eda7ffb7-d97e-4514-ad75-21928d1dd4b1</guid><dc:creator>Markus Hannweber</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;here are the missing infod&lt;/p&gt;
&lt;p&gt;Microstion Connect 10.6.0.102&lt;/p&gt;
&lt;p&gt;C# (6.0)&lt;/p&gt;
&lt;p&gt;i overwritten it directly in the run function of a typically C# app&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; protected override int Run(string[] commandLine)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Register event handlers&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElementChangedEvent += NanoSicatAddIn_ElementChangedEvent;&lt;/p&gt;
&lt;p&gt;And this values seems only to come when I move a parametriccell block&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Greetings&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Microstation connect ElementChangedEvent ChangeTrackKind</title><link>https://communities.bentley.com/thread/461134?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 14:49:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3b1ebf57-4ce0-4ecc-81c4-f139ff8eb7c8</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Markus,&lt;/p&gt;
&lt;p&gt;what about to explain what MicroStation CE Update do you use, what language and where did you override the event?&lt;/p&gt;
&lt;p&gt;To request all readers to do own research in what API ElementChangedEvent exists (and in some cases the same name can be found both in C++ and NET API) ensure probably nobody will invest a time to answer.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>