Python - Delete Shared parameter - Autodesk.Revit.DB

Hello,

I created this Python code, to open a window and then indicate the various shared parameters of the families.

In my Python code, the same error appears: “ImportError: No module named Autodesk.Revit.DB”. After a lot of searching on the Internet, I can’t find what to do…
Also, the entire code doesn’t work for shared parameters, but it does for project parameters.

Attached are the two codes (one for project settings and the second for shared settings).
If anyone has an idea what the problem is, that would be great!

Cdt

Uploading: Paramètres de projet.py…
Uploading: Paramètres partagés.py…

your files seem to have not uploaded properly

2 Likes

Isn’t he clairvoyant in the previous post?