Some issues after comparing Revit 2015 and 2017

Some issues after comparing Revit 2015 and 2017

nitinjambhale
Advocate Advocate
378 Views
1 Reply
Message 1 of 2

Some issues after comparing Revit 2015 and 2017

nitinjambhale
Advocate
Advocate

Hi All,

 

1) Please view attached image.

2) In that structure when i placed coupling generic on branch pipe, i am getting modified elements count as 4 in Updater (_data.GetModifiedElementIds())     with Revit 2015 API and same scenario when i place coupling generic in Revit 2017, i am getting modified elements count as 2 (which is i am expecting     and its perfect in this scenario.)

 

    Now what is Updater : Updater is the class inheriting interface  IUpdater, which is use to track revit document changes with API.

 

3) Now with those 2 extra elements i am getting in list is creating a huge problem for me in 2015.

4) So, may wait for another update of Revit 2015 (currently i am Update Release 14) to fix this bug.

 

Please have a look into this.

Thank You.

Nitin J.

0 Likes
Accepted solutions (1)
379 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Nitin,

 

Thank you for your query.

 

There is no guarantee that the updater will return the same number of elements every time.

 

I suggest that you revisit your code and implement a check so that only the elements that really are of interest to you are processed in the manner you intend.

 

I do not believe that anybody can provide any guarantee or expectation whatsoever of publishing further updates for Revit 2015.

 

I hope this helps.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder