Announcements
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API for RVT Link Display Settings

API for RVT Link Display Settings

I would like to have access to at least read the Revit Link Display Settings through the API. I want to be able to see if a filter in the Link file is being applied and if the current view is using the link display settings or the main file's settings.

Capture.PNG

44 Comments
Attila.Kalina
Participant

Joining the choir to ask for this feature.

Status changed to: Accepted

Congrats! We think this is a great idea, so we've decided to add it to our roadmap. Thanks for the suggestion!

The Factory

ycai9HR9Q
Contributor

I don't understand why this idea was proposed in 2016 and nothing has changed until 2023. AE firms keep updating and changing design files. I have to change linked background files for every single view VG override Link Model session individually. 

@ycai9HR9Q - View templates will capture settings of linked file overrides... and not too many folks work in the API/Dynamo. 

aaron_rumple
Enthusiast

View templates can only capture setting for linked files AFTER they have been linked. Which is the reason these settings need to be accessed programmatically. MEP consultants can have a lot of subcategories that aren't defined until loaded. Additionally, if a file is unlinked and relinked - you start over on the settings. Being able to get at these settings programmatically, will let us push the desired settings to all of the view templates at once, rather than edit them one-by-one. It's such an issue, we're doing a lunch class next week to discuss the issue.

Note that this request has been accepted and should soon hit the streets.

Hey @aaron_rumple : )  The only way round that now is to have placeholders for each discipline. This covers ~98% of the settings. When they have custom subcategories that were overridden is where you start to run into issues, rare but it happens.

 

IF you try to cram entire revit sites and all the building of that site into one model - that falls apart; If you have each building (and sometimes each podium tower) as its own file, works like a charm! : ) Individual files also smaller and faster to work in... drawback of syncing content... avaial... blah blah blah blah... : )

TripleM-Dev.net
Advisor

@aaron_rumple,

 

There are other option depending the overrides with viewfilters:

 

A. Use worksets, if the links contain only a limited number of Worksets (and unique between linked models) add a workset to your model with that name. Now create a viewfilter for the categories + that workset and add it to view/templates to override the linked model

 

B. Use viewtemplates and use another common paramter to filter items to override. For MEP models I often use the system names (duct etc) to override, as they often can't be overridden by VG.

 

These can be programmed by API / Dynamo, inspect/check the linked models and create appropiate viewfilters and set their override settings.

 

- Michel

TripleM-Dev.net
Advisor

If you need to turn off (sub)categories (like the center lines in MEP models, which show Through walls) this won't help.

It would be a big help if those would be invisible in the Fine detail level, and not be a model sub-category

 

- Michel

Never use worksets to control visibility. Those are for maintaining large systems across very large sites like Airports, Cityscapes, etc. Using worksets for visibility are a blunt instrument that leads to nothing but sorrow in the long run.

 

View filters are a little better - especially for system families. Each of those subcomponents in a system family should be a subcategory. Ideally if we had "Trees" of visibility controls:

RonAllen_WareMalcombcom_0-1677262965845.png

*Should coincide with a similar approach to subcategories of families I.e. Doors, Door.Panel, Door.Hardware, etc. These subsets come in really handy for key schedules, scheduling, visibility graphics, and soforth.

aaron_rumple
Enthusiast

@TripleM-Dev.net
Worksets are the worst way to control visibility. Might as well go back to AutoCAD layers.
Worksets are from a bygone era when limited technology required you to have a workset per user on the team and you had to checkout your workset before working. They serve no purpose other than memory management for very large models in today's Revit. In fact, I would expect the feature to be removed as Revit heads to 100% cloud based.

 

As previously noted - This requested feature has been accepted and you should see it soon,

daniel.nc.gijsbers
Contributor

yes, please

sam.najjarJVR3P
Participant

7 years since this has been asked! I wonder if anyone from Autodesk looks at this forums at all?
This is clearly a big black hole in the API

Hi, @sam.najjarJVR3P !

 

Yes, we do look at the forums (every day, in fact!). We are simply unable to respond to each and every comment that is made. In this instance, this Idea has been Accepted and our teams are working on this feature. Feel free to join our Revit Preview Release or follow our Revit Public Roadmap to provide additional feedback.

 

Thank you!

-Kimberly

Chuong.Ho
Advocate

Yes, Please !

zefreestijl
Advocate

Hi, I'm currently using Revit 2024,

and have noticed there's a function to set LinkVisibilityType to ByHost, ByLink or Custom just like the options inside Revit App,

 

link1.png

somehow my codes didn't work at all,

is it still not possible to set VG for links model or did I do it wrong?

 

Thanks :]

giorgio_albieriHEEL4
Community Visitor

Please please please

j_swinny
Explorer

@kimberly_fuhrman-jones 

 

I did not see this feature listed in the roadmap. Is it still being worked on or have I missed it?

@j_swinny , while the specific feature is not named in the roadmap, it is a part of the ongoing improvements to graphics and visualization.

fwang52MYR
Contributor

This will be extremely helpful, please do. 

barskyd
Contributor

Bump

Autodesk team please allow API access to Linked View settings please!

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

Submit Idea