Element.Parameters - standardization of lists to show all instance parameters of an elelment

I could not get a standard list of all instance parameters for multiple instances of the same family ?

you mean the list is SORTED in non-consistent manner?

If the issue is sorting then this was already addressed here: https://github.com/DynamoDS/DynamoRevit/pull/1693 Fix will be coming in the next release of Dynamo.

For the time being you can just sort them yourself. Use List.SortByKey and use Parameter.Name as the key value.

3 Likes

Hi,

Thanks for your reply, I need to extract certain instance parameters(not all), So decided to index lists but these parameters are not in same order for all the elements selected.

Here is another possible way no matter what the order of parameter is this will get you what you need.

I have 12 such instance parameters that I need to take, is there a short way or should I specify strings of all 12 instance parameters?

I get a warning when I try it with Pipe fittings, and I cannot index items

Your not following my graph. Change lacing to longest at List.AllIndicesOf node and GetItemAtIndex node.

And also remove (") if your using String.

1 Like

Thanks, I still don’t understand about the warning issue

Are you sure you have “BK” Parameter? Could you drop dummy rvt file here. If your unable to drop then drop it in one of the dropbox services and share the link here.


I tried using different parameter it works, could you help me solve the warning issue ?

You could ignore that warning as far as the List.GetItemAtIndex doesn’t show any warnings. Some of the parameters doesn’t have storage type.

1 Like

What does it mean, just to know?

The error says it all. Some of the parameters doesn’t have storage type. I would suggest as a beginnner you should look at the below links.

http://dynamoprimer.com/en/
Learn - Dynamo BIM