Adding Multiple Parameters in the Family Editor

Apologies if this is already been solved.

There are similar discussion in the forum regarding this topic but I can’t find/figure out the solution. :confused:

The FamilyManager.AddParameter Method doesn’t accept a list but just a string.

Can it be iterated? or a completely different method is needed to achieve this.

Thanks.

Hi Salvatore,

Try wrapping python script in to custom node.

@Kulkul
Do you mean creating a custom node using the python script?

If so, I tried that and it’s giving me a null value

@salvatoredragotta Alright try this:

2 Likes

@Kulkul.
I had to add in order to work (before starting the transaction):
doc = DocumentManager.Instance.CurrentDBDocument.

Thanks a lot!