Warm tip: This article is reproduced from stackoverflow.com, please click
autodesk-forge autodesk-viewer autodesk-model-derivative

Why Layer detection isn't possible in Autodesk forge Api for PDF files?

发布于 2020-03-29 21:03:47

I want to import PDF file in Model derivative API and work with different layers. But it is not detecting layers in PDF models as it does in DWG files. Layer manager option is not visible. What to do?

Questioner
Kiran L Patil
Viewed
38
Petr Broz 2020-01-31 19:03

In cases where the Model Derivative service isn't extracting enough information from your input files, you have a couple of options:

  • if your input file is a AutoCAD, Revit, Inventor, or 3ds Max file, consider extracting the additional information using the Design Automation service

  • if your input file is a PDF, consider:

    • viewing the PDF directly in the viewer (see this blog post for more details)
    • using a 3rd party library (e.g., pdf.js) to extract the additional info yourself