Adding shared parameters to system family?

Adding shared parameters to system family?

glenncai
Enthusiast Enthusiast
8,127 Views
2 Replies
Message 1 of 3

Adding shared parameters to system family?

glenncai
Enthusiast
Enthusiast

I searched this topic before and people sad this is impossible. but today after I imported a model from ETABS I saw a additional parameter called "Level Style" in the Level Properties. You cannot see this parameter from a new Revit project. Can this archived by API?

Capture.JPG

 

 

 

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

matthew_taylor
Advisor
Advisor
Accepted solution

Hi @glenncai,

Yes, you can add shared parameter bindings to all instances (or types) of elements in a specific category.

Not all categories, but Levels are in the 'can do' list. (Check by Category.AllowsBoundParameters)

 

There are plenty of posts that illustrate this sort of thing. Jeremy's blog is always a good place to look:

http://thebuildingcoder.typepad.com/blog/2010/07/shared-type-parameter.html

 

If I misunderstood, please enlighten me!

 

Cheers,

 

-Matt


Cheers,

-Matt
_______________________________________________________________________________
Marking a post as a 'solution' helps the community. Giving a post 'Kudos' is as good as saying thanks. Why not do both?
0 Likes
Message 3 of 3

glenncai
Enthusiast
Enthusiast

Thanks for your information Matthew. 

I bind the parameter successfully. 

I also found a very helpful link for me:

https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2016/ENU/Revit-API/files/GUID-...