Hi everyone,
I’m currently working on a Dynamo workflow, and I need some help with setting parameters for nested families directly from the project environment. Here’s what I’ve done so far:
- I created shared parameters using Dynamo and linked them with an Excel file.
- I used the
Select Element Modelnode to select instance family => i used “subcomponents” to get all nested families - I applied the
AddSharedParameterToFamilynode (from the DynaMEP package) to add the shared parameters to the families.
However, I’m struggling with setting the parameter values for these nested families. The SetParameterByValue node doesn’t seem to work as expected in this case.
Questions:
- Is there a way to set parameter values for nested families directly from the project environment?
- Would Python or C# scripts be necessary for this, or is there an existing package that can handle this process?
- If Python or C# is required, could you provide an example or guide me on how to iterate through the nested families and set the parameters?
Any advice, examples, or suggestions would be greatly appreciated! Thank you in advance for your help.