Conversation
|
Unable to trigger custom agent "Code Reviewer"You have run out of credits 😔 |
There was a problem hiding this comment.
Pull request overview
This PR enhances the Excel import/export functionality for Revit schedules by adding several improvements to data handling and field formatting.
Changes:
- Preserves field format overrides when exporting schedules to Excel, ensuring units and formatting match the schedule's display settings
- Maintains column order from schedules during export by respecting the schedule's field order
- Adds support for importing ElementId parameters via name comparison to match elements by name rather than ID
- Adds support for importing Workset parameters via name comparison to assign worksets by name
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| XLS Export.pushbutton/script.py | Enhanced to preserve schedule field format overrides and maintain field order during export; added metadata sheet to store format information |
| XLS Import.pushbutton/script.py | Added ElementId and Workset import support via name-based matching; enhanced to use exported metadata for proper unit conversions |
|
Reviewed the code quickly, it looks fine. |
How to TestSetup
Test 1: Schedule Field Format Overrides
Test 2: Schedule Field Order
Test 3: Workset Import
Test 4: ElementId Import
Test 5: General Export/ImportTest other export scopes to ensure nothing broke:
|
…set and ElementId - small helper vars to make it more readable
|
@Wurschdhaud since testing it doesn't seem to interest the community, would you mind testing it with the above? |
|
I did so constantly during developing it, I think I'm blind for errors now, if there are any |
|
I'll trust you on that. |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1937-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+1956-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2005-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2008-wip |
|
📦 New public release are available for 6.0.0.26032+2040 |
|
📦 New public release are available for 6.0.0.26032+2040 |
Description
Checklist
Related Issues