Update parameter handling for v2 Revit

- Changed legacy placeholder to handle v2 parameters
- Added processing for Revit parameters in the current object
This commit is contained in:
Jonathon Broughton
2025-03-25 01:22:45 +00:00
parent a865bd64db
commit f7b72d4516
+2 -2
View File
@@ -37,9 +37,9 @@ class ParameterProcessor:
)
self.process_properties_dict(properties_dict, current_object)
# Legacy placeholder for v2, ready for later
# Handle v2 Revit parameters
if hasattr(current_object, "parameters") and current_object.parameters is not None:
pass # Add v2 handling when ready
self.process_revit_parameters(current_object)
def process_properties_dict(self, properties_dict, current_object):
"""Recursively process v3-style properties dictionary to find and apply the action to parameters.