pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.32k stars 335 forks source link

[Bug]: Import/Export Family Configuration Not Functioning #2456

Open sarabjacobs opened 1 day ago

sarabjacobs commented 1 day ago

✈ Pre-Flight checks

🐞 Describe the bug

I am in revit 2023. I have updated my pyrevit and still have issues exporting and importing family configurations. I get the following errors, respectfully: Pyrevit Export Family Config Issue Pyrevit Import Family Config Issue

⌨ Error/Debug Message

N/a

♻️ To Reproduce

No response

⏲️ Expected behavior

The prompts prior to creating the yaml are working - selecting the parameters, types etc. The yaml itself is not being produced per the bug above. In addition, when I import from an old yaml I've made, I get the other error. Usually the command window would say which parameters, if not all the parameters, were transferred successfully.

🖥️ Hardware and Software Setup (please complete the following information)

N/a

Additional context

No response

sanzoghenzo commented 1 day ago

Hi @sarabjacobs Can you please complete the issue report with the output of the pyrevit env command? With that we can understand what you mean by "I updated my pyrevit"

Also you say you "still" have the issue; do you mean that the errors were displayed also with the previous pyRevit version? Which version was that?

Indeed the ParameterType attribute is no longer present in Revit 2023, but the command already handles this from version 4.8.13 Please double check the version you're running. It's not enough to use the update button inside pyrevit: you have to download the latest installer and perform the installation.

sarabjacobs commented 19 hours ago

I am not sure how to output a report with that command? Can you explain that further? When I opened revit 2023 today, it did say it had an error loading. How do I check the version its trying to run? Pyrevit Loading Issue

I tested my previous versions of revit and it worked fine :)

sanzoghenzo commented 18 hours ago

It was right there in the issue form 😉

Open a command prompt 🖥 and run the command pyrevit env. Paste the output here.

If you don't know what a command prompt is: press the windows key/start button, type cmd and press enter. The type pyrevit env and press enter. Select all the text that appears and click the right mouse button to copy it, then paste it here.

sarabjacobs commented 18 hours ago

C:\Users\BEITELS>pyrevit env ==> Registered Clones (full git repos) ==> Registered Clones (deployed from archive/image) master | Deploy: "basepublic" | Branch: "master" | Version: "5.0.0.24315+1435-wip" | Path: "C:\Users\BEITELS\AppData\Roaming\pyRevit-Master" ==> Attachments Unnamed-363FBF8 | Product: "Autodesk Revit 2025" | Engine: IPY277 (277) | Path: "C:\Program Files\pyRevit-Master" | AllUsers Unnamed-363FBF8 | Product: "Autodesk Revit 2024" | Engine: IPY277 (277) | Path: "C:\Program Files\pyRevit-Master" | AllUsers Unnamed-363FBF8 | Product: "Autodesk Revit 2023" | Engine: IPY277 (277) | Path: "C:\Program Files\pyRevit-Master" | AllUsers Unnamed-363FBF8 | Product: "Autodesk Revit 2022" | Engine: IPY277 (277) | Path: "C:\Program Files\pyRevit-Master" | AllUsers Unnamed-363FBF8 | Product: "Autodesk Revit 2021" | Engine: IPY277 (277) | Path: "C:\Program Files\pyRevit-Master" | AllUsers Unnamed-363FBF8 | Product: "2020 First Customer Ship" | Engine: IPY277 (277) | Path: "C:\Program Files\pyRevit-Master" | AllUsers Unnamed-363FBF8 | Product: "2017 First Customer Ship" | Engine: IPY277 (277) | Path: "C:\Program Files\pyRevit-Master" | AllUsers ==> Installed Extensions ==> Default Extension Search Path C:\Users\BEITELS\AppData\Roaming\pyRevit\Extensions ==> Extension Search Paths ==> Extension Sources - Default https://github.com/eirannejad/pyRevit/raw/master/extensions/extensions.json ==> Extension Sources - Additional ==> Installed Revits Autodesk Revit 2025 | Version: 25.0.2.419 | Build: 20240307_1300(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2025\" Autodesk Revit 2024 | Version: 24.2.10.64 | Build: 20240408_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2024\" Autodesk Revit 2023 | Version: 23.1.10.4 | Build: 20221122_1550(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2023\" Autodesk Revit 2022 | Version: 22.1.30.34 | Build: 20220520_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2022\" Autodesk Revit 2021 | Version: 21.1.70.21 | Build: 20220517_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2021\" 2020 First Customer Ship | Version: 20.0.0.377 | Build: 20190327_2315(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2020\" 2017 First Customer Ship | Version: 17.0.416.0 | Build: 20160225_1515(x64) | Language: 1033 | Path: "C:\Program Files\Autodesk\Revit 2017\" ==> Running Revit Instances Error: Object reference not set to an instance of an object. Run with "--debug" option to see debug messages