Set multiple Family Instances by matching List Input for FamilyType

Looking for a way the change an FamilyInstance(list A) by List input(list B).

Stil can’t fix the change instance by input list. I just try all the solution from the others. But sill get an error.

http://dynamobim.org/forums/topic/set-family-type-from-list/

1 Like

Setting “Family and Type” parameter does not work for you? Could you send a screenshot of your graph showing the error?
Edit: found an example:

1 Like

Error:

Input for value:

“Type Name” is a read-only parameter, try “Family and Type” instead (optionally “Family” or “Type” if it better fits your needs). The OOTB Element.SetParameterByName node should do this, see the example I provided.
See also:
http://dictionary.dynamobim.com/#/Revit/Elements/Element/Query/Parameters
http://dictionary.dynamobim.com/#/Revit/Elements/Parameter/Query/IsReadOnly
http://dictionary.dynamobim.com/#/Core/Object/Action/Type

1 Like

I have used Type Name because that’s the parameter that has to be changed.

Also used “Type” But same error.

Also used “Family and Type”

image

Hi @snnybsch,

If you don’t mind using custom nodes, maybe the nodes below can do what you want.

Kind regards,
Mark

1 Like

Does not change the families.

Hi @snnybsch,

Have you read the below quote on the topic @Yna_Db sugested.
I think the “FamilyType” input has to be a “real” familytype not a string.

Kind regards,
Mark

1 Like

You are correct @MJB-online

1 Like

I was focusing on finding an illustration and did not even pay attention. Next time, I’ll try it myself before refering to anyone else’s solution :sweat_smile:

3 Likes

Actualy the (first) sugested topic was a very good one :thumbsup:
But the most interesting remark was at the very bottom.

Kind regards,
Mark

2 Likes

Other examples:
http://dynamobim.com/forums/topic/changing-loadable-family-types/

1 Like

Thank you for the concept! I changed it a little bit, but it works!