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

Document.BuiltInCategories returns null in Revit 2025 #444

Open
1 of 4 tasks
Tracked by #447
denizmaral opened this issue Jan 27, 2025 · 4 comments
Open
1 of 4 tasks
Tracked by #447

Document.BuiltInCategories returns null in Revit 2025 #444

denizmaral opened this issue Jan 27, 2025 · 4 comments
Assignees
Labels

Comments

@denizmaral
Copy link
Contributor

denizmaral commented Jan 27, 2025

Describe the bug

Image

Steps to Reproduce
(Please fill in. What did you do, step by step?)

Expected behavior
(Please fill in. A clear and concise description of what you expected to happen.)

My setup

  • Operating System: ................
  • Revit version: ................
  • Dynamo version: ................
  • Clockwork version: ................

Housekeeping
Please make sure these boxes are checked before submitting your issue:

  • I am running the latest available Clockwork version
  • My installed version of Clockwork matches the Dynamo version it's installed for
  • I do not have multiple versions of Clockwork installed for one Dynamo version
  • I do not have any pre-Clockwork packages installed (category CAAD_RWTH in the node browser)
@denizmaral
Copy link
Contributor Author

Ursache: Enum.GetValues

@andydandy74
Copy link
Owner

This makes my heart bleed:

biclist = [eval("BuiltInCategory."+x) for x in dir(BuiltInCategory) if x.startswith("OST_")]

but it does the job

@denizmaral
Copy link
Contributor Author

I am blind 😅 I saw all enum members when I typed dir(BuiltInCategory) but I focused on methods like GetValues and why they don't work.

andydandy74 added a commit that referenced this issue Feb 6, 2025
@andydandy74
Copy link
Owner

committed fix needs to be re-checked in R22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To do
Development

No branches or pull requests

2 participants