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] Get Shared Parameter linked to a Label

[API] Get Shared Parameter linked to a Label

Hello,

 

I would like to get the shared parameter linked with a label.

Today, it's only possible to get the text from a label but it's impossible to know (from the API) which is the shared parameter managing the content.

 

 

Thanks !

 

Shared_Parameter_Linked_Label.jpg

 

 

 

 

 

14 Comments
Anonymous
Not applicable

Hello,

 

... and also System Parameters

 

Thanks !

AnthonyViscusi
Advocate

The ability to get and set label parameters in the family environment is crucial.  Imagine if you want to make a titleblock with hundreds of parameters for instance.  Using the API to set the shared parameter of each of the individual labels from a list or subset of the shared parameter database would save hours of time.

Anonymous
Not applicable

Vote! Vote! Vote! API access to tags content!

Anonymous
Not applicable

I too vote for this. Access to the parameters for the labels is needed!

Hacklberg
Contributor

Vote!

reylorente1
Collaborator

Vote!!!!!!!

aricke59
Enthusiast

I need to get and set the label. I am doing a resolve of Shared Parameter names in a family/project to those listed in the Shared Parameter File. This is pretty much the last item to complete the process. 

 

Vote

josh_moore
Enthusiast

I agree this would be very helpful to dealing with Parameters in Tags which may be dynamic from an application.

Andrej.Licanin
Advocate

I was surprised that is not open yet...

kente678
Explorer

Vote

y_naessens
Contributor

Clearly a must have ! And for BuiltInParameters too !!

Chiften
Contributor

vote

Moustafa_K
Collaborator

vote

brownbr2VHQE
Contributor

Vote yes. 
One work around I did on reading which parameters were being used.
On the topic of parameter maintenance, I wanted to gather information about which parameters were being actively used in tags.

So I used tag.TagText and then compared that value to the values of the parameters returned from taggedElement.Parameters to deduce which parameters were driving the TagText. Obviously this become exponentially more complicated with concatenated parameters and delimiters, but served my purpose. 

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

Submit Idea  

Autodesk Design & Make Report