Issue.
I need to produce a parameter compiled from all chosen parameters of an object. It’s easier to describe on simple example below:
I have number of 3d boxes in model. Boxes are characterized by 3 basic parameters (width, lenght and height). Now I want to give each of these boxes a shared parameter with value - say: 1,1,1 where 1st number gives me a variant of width, 2nd number gives a variant of lenght and 3rd number gives a variant of height.
If all my boxes have equal lenght then there is a single variant of lenght (1), but if one of my boxes has lenght different than other boxes, then this should be regarded as variant 2, and so on.
So if my boxes have say: 3 different widths, 5 different lenght, and 2 different heights, my string should take any form of [1 to 3,1 to 5,1 to 2]. Then each of my boxes get 3 digit “hashtag”, for ex. 1,3,2 or 2,5,1 and so on.
Summarizing - script should take each parameter, then compare its values with same parameters of all analyzed objects and assign a number (tag) to each differing value.
At the end all those numbers/tags should be concatenated into single string and written to a special parameter in that object
The purpose of this is to enable grouping and sorting objects that have more than 4 differing paramters and thus cannot be properly sorted/grouped with revit tables. This may be usefull to group for ex. doors in proper tables, as doors can have more than 4 differing paramters while still being single type of door. Such script then could produce something like “parameter hashtag” that could summarize many different parameter values into single string.
Thank You for Your help. I think this may help many people with their schedules.