Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 tasks done
sarabjacobs opened this issue Nov 12, 2024 · 4 comments
Open
5 tasks done

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

sarabjacobs opened this issue Nov 12, 2024 · 4 comments
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] Tools Issues related to pyRevit commands [subsystem]

Comments

@sarabjacobs
Copy link

✈ Pre-Flight checks

  • I don't have SentinelOne antivirus installed (see above for the solution)
  • I have searched in the issues (open and closed) but couldn't find a similar issue
  • I have searched in the pyRevit Forum for similar issues
  • I already followed the installation troubleshooting guide thoroughly
  • I am using the latest pyRevit Version

🐞 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

@sarabjacobs sarabjacobs added the Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] label Nov 12, 2024
@sanzoghenzo
Copy link
Contributor

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
Copy link
Author

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
Copy link
Contributor

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
Copy link
Author

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

@sanzoghenzo sanzoghenzo added the Tools Issues related to pyRevit commands [subsystem] label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug that stops user from using the tool or a major portion of pyRevit functionality [class] Tools Issues related to pyRevit commands [subsystem]
Projects
None yet
Development

No branches or pull requests

2 participants