Setting the BrowserOrganization for a project in Revit 2016?

Setting the BrowserOrganization for a project in Revit 2016?

dantartaglia8696
Advocate Advocate
3,647 Views
19 Replies
Message 1 of 20

Setting the BrowserOrganization for a project in Revit 2016?

dantartaglia8696
Advocate
Advocate

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

 

0 Likes
Accepted solutions (1)
3,648 Views
19 Replies
Replies (19)
Message 2 of 20

Anonymous
Not applicable
Accepted solution
Message 3 of 20

jeremytammik
Autodesk
Autodesk

Dear Dan,

 

Thank you for your query, and thanks to Remy for pointing back to the previous thread:

 

http://forums.autodesk.com/t5/Revit-API/How-to-read-Browser-Organization-info-from-the-Revit-API-201...

 

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



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

Message 4 of 20

dantartaglia8696
Advocate
Advocate

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

0 Likes
Message 5 of 20

dantartaglia8696
Advocate
Advocate

Oh well, that didn't work. I'll have to wait for a future build.

0 Likes
Message 6 of 20

thomashachler
Participant
Participant

Hello,

 

If anyone has any news or solutions about this issue ?

 

Big thanks !

0 Likes
Message 7 of 20

jeremytammik
Autodesk
Autodesk

Thank you for your update!

 

I just prompted the development team for a status report.

 

Cheers,

 

Jeremy



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

0 Likes
Message 8 of 20

BIM_S_S
Participant
Participant

thanks jermy for your help

0 Likes
Message 9 of 20

Anonymous
Not applicable

Has this issue been resolved yet? As it has been a while since the last update.

0 Likes
Message 10 of 20

jeremytammik
Autodesk
Autodesk

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



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

0 Likes
Message 11 of 20

Anonymous
Not applicable

Thank you. Looking forward to the day this is implemented.

0 Likes
Message 12 of 20

Anonymous
Not applicable

Any chance this has been updated?

0 Likes
Message 13 of 20

sobon.konrad
Advocate
Advocate

Well, we are in R2018.2. Any updates on this issue? 

0 Likes
Message 14 of 20

autodesk_whetstone
Explorer
Explorer

Hi Jeremy,

 

Just wanted to throw another log on the fire of interest in this topic; any update would be greatly appreciated!

 

Thanks!

Matt

0 Likes
Message 15 of 20

jeremytammik
Autodesk
Autodesk

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:

 

  • BrowserOrganizationType.Schedules

 

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

 



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

Message 16 of 20

ottosson_mathias
Advocate
Advocate

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:

 

BOP_GroupSort.pngBOP_Filter.png

 BOP_Props.png

 

 Where can I find the rest of the rules?

0 Likes
Message 17 of 20

jfreund87
Contributor
Contributor

@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!

0 Likes
Message 18 of 20

mj.deboer
Explorer
Explorer

@jeremytammik is there any update to set the browser organization filter and sorting rules?

0 Likes
Message 19 of 20

jeremy_tammik
Alumni
Alumni

I asked the development team for you. Wish you a happy weekend!

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 20 of 20

jeremy_tammik
Alumni
Alumni

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!

   

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open