Create revit material from excel using dynamo

Hi every one, i just want to create a lot of material for revit, but i have some problems in the python code and i can’t get all the list of materials in the end

Hi @elouni.malek,

There are packages that already contain nodes to create and edit materials like the Genius Loci package.

If you don’t post your python script, we will not be able to help you further.

1 Like

i m a new user so i can add only one photo, thanks, you find the python code in it,
the error in the python code is this :
Avertissement:IronPythonEvaluator.EvaluateIronPythonScript l’opération a échoué.
Traceback (most recent call last):
File “”, line 32, in
Exception: name cannot include prohibited characters.
Parameter name: name

So remove prohibited characters from your list of names and it should work.

image

I checked the list of names and it work, thank you Alban