- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Normally i know my way around with Dynamo, but in this case i have a problem that i think can only be fixed using a python node. I do have a python node script that i put together but it doesnt seem to do anything, and i cannot figure out why.
i am a absolut beginner at python programming so i am struggeling with the basics here.
In line 26 and 27 i have some part of the code that i do not completely understand and i might be that, or something completely different.
In short. List A has a list of family instances with family parameters 'groepnummer', 'Schema_nr' and 'contactdozen aantal'. List B has a list of family instances with shared project parameters 'voedende groep' and 'Bouwnummer'
The script needs to find all Family instances in List B where the value of parameter 'voedende groep' is the same value as in parameter 'groepnummer' in Families in List A , AND families with the value of parameter 'Bouwnummer' in List B has the same value as families with the value of parameter 'Schema_nr' in families in List A. If this is the case the amount of family instances with these parameter values in List B should be counted and this amount should be SET in parameter 'conatactdozen aantal' in the one family instance in List A that have these parameter values.
I hope this all makes sense and someone can give me a hand in getting this to work.
Supplied is the script that i have so far as text.
Erik.
Solved! Go to Solution.