Open tinrobot2000 opened 7 months ago
Thank you for submitting the issue to us. We are sorry to see you get stuck with your workflow. While waiting for our team member to respond, please feel free to browse our forum at https://forum.dynamobim.com/ for more Dynamo related information.
I've seen this kind of error more times than I can count when working with categories in python nodes, always when re-running a script. Super annoying.
Issue Description
Please fill in the following information to help us reproduce the issue:
Dynamo version
Dynamo:
2.18.1.5096
Operating system
OS:
Microsoft Windows NT 10.0.19044.0
What did you do?
Trying to get the Revit categories from a Binding class
OUT = [pb.Categories for pb in doc.ParameterBindings]
What did you expect to see?
A list of categories
What did you see instead?
Null (Object reference not set to an instance of an object.)
What packages or external references (if any) were used?
None
Stack Trace
CLR:
4.0.30319.42000
EDIT Resolves with restart of Revit (Not just Dynamo) but always happens on re-run of script minimal example code
OUT = [pb.get_Categories() for pb in doc.ParameterBindings]