Hi,
I have the need to be able to set a project's Browser Organization (Views and Sheets) as per an existing organization as shown in the attached image, is this possible in the API?
Thank you,
Dan
Solved! Go to Solution.
Solved by R.van.den.Bor. Go to Solution.
Dear Dan,
Thank you for your query, and thanks to Remy for pointing back to the previous thread:
It was escalated to the ADN case 09484800 [How to read Browser Organization info from the Revit API? (2013 - 2015)] and I raised the wish list item CF-1269 [API: read and write the how and why of browser organisation] for it back then.
I am sorry to say that I do not see much progress having been made on that since the last time around.
I added your wish to it to underline its importance and prompted the development team for an update.
It is marked as a critical issue, which is about as high an importance as I can set it to.
I'll let you know as soon as I have any more news on this.
Thank you for your patience!
Best regards,
Jeremy
Thanks Remy and Jeremy,
I saw that post, I was hoping I missed something in Revit 2016 and it was resolved. I may experiment with CopyElement(). Seems an organization has to be selected, I wonder what would happen if all were removed and one was added?
Thanks,
Dan
Hello,
If anyone has any news or solutions about this issue ?
Big thanks !
Thank you for your update!
I just prompted the development team for a status report.
Cheers,
Jeremy
Dear Vincent,
Thank you for re-prompting. I
am sorry to say I received no answer so far, so I just re-prompted the development team as well.
Cheers,
Jeremy
Hi Jeremy,
Just wanted to throw another log on the fire of interest in this topic; any update would be greatly appreciated!
Thanks!
Matt
Dear All,
Thank you again for your patience.
This functionality was made available in the Revit 2091 API:
http://thebuildingcoder.typepad.com/blog/2018/04/whats-new-in-the-revit-2019-api.html#4.2.6
2.6. BrowserOrganization API additions
The new enumerated value:
corresponds to the type of the browser organization definition for schedules.
The new method:
BrowserOrganization.GetCurrentBrowserOrganizationForSchedules()
gets the BrowserOrganization that applies to the Schedules section of the project browser.
Unfortunately, apparently, read-only...
Please continue voting in the Revit Idea Station for read-write access.
Thank you!
Best regards,
Jeremy
I trying to figure out how to get the Filtering and Grouping and Sorting rules for the current BrowserOrganizationForViews, but I'm having trouble finding them in the BrowserOrganization object. I can only find corresponding properties to the sorting properties:
Where can I find the rest of the rules?
@jeremytammik I can get the Group Headers and the Sorting Order, but just wanted to check if there is now a way to get the Parameters for the 'Group by' rules? Per Mathias' post, I'm just interested in getting this list:
[Sub-discipline, View Classification, View Name].
I could try to match them based on the Group Headers, but if there is a way to get them directly, that is preferred.
Thanks!
@jeremytammik is there any update to set the browser organization filter and sorting rules?
I asked the development team for you. Wish you a happy weekend!
Reply from the development team: unfortunately, "Group By" rules are not exposed in the API for BrowserOrganization. There are still gaps in the API there. Sorry about that. Please vote for the corresponding wish in the Revit Idea Station, or create one for it, if none exists. Thank you!