I am once again in need of your assistance.
Let me explain my situation,
I have several “generic model” elements. There are several families (“structural connections” category) placed on each of these generic model elements. All generic model elements contain a unique value for the “Mark” parameter. I would like to take the mark value , from each of the generic model elements and apply this to the mark value of the families placed on each generic model element. for example:
generic model element 1 (“Mark” parameter = P20), 8 families on this element, i would like to set the “mark” parameter for each “structural Connection” family to P20.
generic model element 2 (“Mark” parameter = P30), 5 families on this element, i would like to set the “mark” parameter for each “structural Connection” family to P30.
and so on…
With the help of SteamNodes, Tool.GetSurroundingElements and some list management I am able to obtain a list, showing which families are associated with which generic model element. how would I get the "mark " values to populate properly?