BUG: Cannot export Linear Extraction files

BUG: Cannot export Linear Extraction files

CivicDesignDevelopment
Advocate Advocate
470 Views
1 Reply
Message 1 of 2

BUG: Cannot export Linear Extraction files

CivicDesignDevelopment
Advocate
Advocate

I went through and created all the linework for a project, and went to export the features to disk, and nothing happens. Fortunately, I can export each feature individually, but not the entire set of linework.

It doesn't matter which format I choose. The behavior is the same in Chrome and Edge.

In developer tools, I get the following console error when I click "Export":

Uncaught TypeError: Cannot read properties of undefined (reading 'x')
    at SessionData.getUCSUnitScaledPoint (ReCap.min.js:2:186883)
    at ReCap.min.js:2:74991
    at Array.forEach (<anonymous>)
    at ReCap.min.js:2:74871
    at Array.forEach (<anonymous>)
    at LinearFeatureManager.linearFeatureToExport (ReCap.min.js:2:74801)
    at LinearFeatureManager.exportToFormat (ReCap.min.js:2:75305)
    at ExportPanel._onClickExportButton (ReCap.min.js:2:898477)
getUCSUnitScaledPoint @ ReCap.min.js:2
(anonymous) @ ReCap.min.js:2
(anonymous) @ ReCap.min.js:2
linearFeatureToExport @ ReCap.min.js:2
exportToFormat @ ReCap.min.js:2
_onClickExportButton @ ReCap.min.js:2Understand this error

 

0 Likes
471 Views
1 Reply
Reply (1)
Message 2 of 2

eugene.chua
Autodesk
Autodesk

Hi @CivicDesignDevelopment,

 

Looking at the trace you provided, it's likely a bug resulted in some missing coordinates for one or more cross sections.

 

One way to identify the problematic cross section is to inspect the "feature_<project-name>.json" file in your projects "<project-name> Support" folder. There should not be any empty entires in the PlaneVertices sections (see attached screenshot).

 

Once identified you can delete and recreate the cross-section(s) in the web editor.

 

If it's convenient to share your project's "feature_<project-name>.json" file, we can help analyse the file for you.

0 Likes