Create View Filter By Shared Parameter With API

Create View Filter By Shared Parameter With API

Anonymous
Not applicable
1,179 Views
2 Replies
Message 1 of 3

Create View Filter By Shared Parameter With API

Anonymous
Not applicable

Dear all!
I'm trying to create view filter by shared parameter using API. I have searched in many forums and known how to create view filter by BuiltInParameter. (https://boostyourbim.wordpress.com/2013/03/26/what-you-can-do-with-view-filters-in-the-2014-api/). But i can't find any topic talking about Shared Parameter or Project Parameter.
Is it possible in Revit API to create view filter by Shared Parameter?
If can, Would you please share me some advices?
Thanks a lot!

0 Likes
Accepted solutions (1)
1,180 Views
2 Replies
Replies (2)
Message 2 of 3

juancalvoferrandiz
Enthusiast
Enthusiast

 

 

Hello,

 

Did you founded the answer to your query. I'm strugguling with the same issue.

 

Thanks.

 

Have a nice day.

0 Likes
Message 3 of 3

Revitalizer
Advisor
Advisor
Accepted solution

Hi,

 

there are SharedParameterElements in the document, having Ids, Guids etc.

 

https://forums.autodesk.com/t5/revit-api-forum/project-parameter-id-amp-guid/m-p/5834037/highlight/t...

 

 

Revitalizer

 

Edit: class introduced in Revit 2016




Rudolf Honke
Software Developer
Mensch und Maschine