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

Error with existing files with DSOffice.Data.OpenXMLExportExcel #15486

Open
NonicaTeam opened this issue Sep 13, 2024 · 1 comment
Open

Error with existing files with DSOffice.Data.OpenXMLExportExcel #15486

NonicaTeam opened this issue Sep 13, 2024 · 1 comment
Labels

Comments

@NonicaTeam
Copy link

NonicaTeam commented Sep 13, 2024

Dynamo Version

2.12.1.8411

Host

Revit

Operating System

Windows 10

What did you do?

We are programming a Python node calling the method DSOffice.Data.OpenXMLExportExcel. Everything seems to work fine when the file does not exists and its newly created. However, when switching Revit documents and exporting on an existing file the data is unorganised and picked from previous sheets.

What did you expect to see?

If the file does exist, I believe the SharedStringTablePart of the method is not properly set up. I expect the string cell values to be referenced to the new values.

What did you see instead?

The excel file needs to be recover when opening and the data is unorganised and picked from previous sheets.

What packages or external references (if any) were used?

clr.AddReference("DSOffice")
import DSOffice
from DSOffice import *
clr.AddReference('DocumentFormat.OpenXml')
import DocumentFormat
from DocumentFormat.OpenXml import OpenXmlAttribute, SpreadsheetDocumentType
from DocumentFormat.OpenXml.Packaging import *
from DocumentFormat.OpenXml.Spreadsheet import *
from DocumentFormat.OpenXml.Validation import *

Stack Trace

No response

Details

No response

Copy link

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.

@avidit avidit added the tracked label Sep 13, 2024 — with Slack
@dynamo-ci-user dynamo-ci-user moved this from Triage to Todo in Dynamo Issues Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

2 participants