Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting the BrowserOrganization for a project in Revit 2016?

19 REPLIES 19
SOLVED
Reply
Message 1 of 20
dantartaglia8696
2690 Views, 19 Replies

Setting the BrowserOrganization for a project in Revit 2016?

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

 

19 REPLIES 19
Message 2 of 20

https://forums.autodesk.com/t5/revit-api/how-to-read-browser-organization-info-from-the-revit-api-20...
Kind regards,
Remy van den Bor
ICN Solutions B.V.
Liked this post or found it usefull, don't forget the Kudo It won't hurt (at least not me).
Message 3 of 20

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

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

Message 5 of 20

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

Message 6 of 20

Hello,

 

If anyone has any news or solutions about this issue ?

 

Big thanks !

Message 7 of 20

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

Message 8 of 20
BIM_S_S
in reply to: jeremytammik

thanks jermy for your help

Message 9 of 20
Anonymous
in reply to: BIM_S_S

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

Message 10 of 20
jeremytammik
in reply to: Anonymous

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

Message 11 of 20
Anonymous
in reply to: jeremytammik

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

Message 12 of 20
Anonymous
in reply to: Anonymous

Any chance this has been updated?

Message 13 of 20
sobon.konrad
in reply to: jeremytammik

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

Message 14 of 20

Hi Jeremy,

 

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

 

Thanks!

Matt

Message 15 of 20

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

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?

Message 17 of 20

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

Message 18 of 20

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

Message 19 of 20
jeremy_tammik
in reply to: mj.deboer

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
in reply to: mj.deboer

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community