Skip to main content
Participant
January 17, 2020
Answered

How to embed 3D models into PDF using JavaScript?

  • January 17, 2020
  • 2 replies
  • 2035 views

I want to embed 3D models into the same field(3D annotation), wich means the model tree can display a series of meshes. I have read the Sdk document four days. But I can't find the API to creat a 3D annotation or embed a series of 3D meshes into PDF.

Could anyone know it? I need your help!!

Thomas Gan

This topic has been closed for replies.
Correct answer RuskinF

I read the sdk document as well.

You couldn't find the API to embed a series of 3D meshes into the pDF because there is no API that can do that.

The only thing is that you can access the already existing but cannot create one.

 

2 replies

RuskinFCorrect answer
Participating Frequently
January 17, 2020

I read the sdk document as well.

You couldn't find the API to embed a series of 3D meshes into the pDF because there is no API that can do that.

The only thing is that you can access the already existing but cannot create one.

 

Participant
January 19, 2020

Thanks for your reply!!!Do you know is there any other methods to embed the .u3d files into a PDF with any other languages?^ ^

try67
Community Expert
Community Expert
January 19, 2020

Sorry, I don't. PDF 3D scripting is a very niche market.

try67
Community Expert
Community Expert
January 17, 2020

I don't believe a script can do that, although I'm not too familiar with Acrobat's 3D functionalities, but from the documentation of the JS API it doesn't seem it can add a 3DAnnot object, only access an existing one.

Participant
January 19, 2020

Thanks for your reply!!! That’s not a good news. Do you know if there are other ways that can embed a series of 3D meshes in a same field? I want to use the buttons to control the render modes of different parts.