As above,I’ve been trying to create a graph that does just that - finds dims in a view that bear a Global parameter and then change their Type to a designated Dimension Type.
I’m not sure exactly what you are wanting, sorry about that… I would be surprised if a Dimension Element had an Instance or Type Parameter connected to a Global Parameter? It would be more usual for a Wall Element for example? Could you include a couple of screen grabs from Revit?
The set parameter node is telling you that the storage type is not a String (text), you need to feed a (family) Type instead. You’ll see there is a dynamo node which you could use?
Since we are using Global Parameters to keep various elements in place and since they may change having GPs makes it easier for us to update those in one go.
This means w have so called CHECK views where we show what necessary for, well, checking.
In this this case Dims linked to Global Parameters should use a specific Dim Type so they appear in a colour that differs from other Dim Types.
So, the idea behind the graph is to locate the dims linked to GPs that are not the type they should be and change their types to the correct one.
Ive managed to make it work although it seems to me that the graph could be make more compact.
As you can see the dims are in Pink due to the Dim Type used, so the plan is if someone used a different Dim Type than the one highlighted in Properties Box the script finds them and then changes their Type to the correct one.