Takes a list of Revit elements and sets a specific parameter value to the given parameter name for each element.
This is an alternative way to summarize the Shared Parameter configuration for the current Revit document. This version checks through a list of family instances in the current project and attempts to get the Shared Parameter GUIDs from them, and then simply returns a list of Shared Parameter GUIDs that match the input SPnameAsString. The Boolean input TrueForType allows you to switch between checking Instance or Type Parameters. As can be seen below, the Asset Code parameter in this model has incorrectly been added twice, and there are two different GUIDs for the same Shared Parameter, which is not good J
Note: future version of this node should work on the Document level, not doing the Family Instance iteration that it does currently.
When auditing a Revit model, it is often important to confirm that Shared Parameters have been added correctly. The key piece of information for each Shared Parameter is the ‘GUID’. You can have multiple Shared Parameters in the same model, with the same name, but different GUIDs. This node aims to list shared parameter information using an Element or Type list as input. It iterates through the input list and reports a number of key pieces of information:
· allParameterNames – a list of Parameter names that includes non-Shared Parameters
· mappedSPnames – a list which matches the input list length but only shows Shared Parameter names by element
· allSPguids – a list which matches the input list length but only shows Shared Parameter GUIDs by element
· uniqueSPguids – a short list of all unique Shared Parameter GUIDs that are applied to the input element list
· uniqueSPnames – a short list of all unique Shared Parameter names that are applied to the input element list
· elementIds – the input element list Element Ids