Adding Multiple Parameters in the Family Editor

revit
python
#1

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.

Create Parameters in a Revit Family
Set value of family type parameters by name
Create Parameters in a Revit Family
#2

Hi Salvatore,

Try wrapping python script in to custom node.

#3

@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

#4

@salvatoredragotta Alright try this:

2 Likes
#5

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

Thanks a lot!