These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Dynamically load 3D model (u3d) file in to pdf using Script

neo_canes
neo_canes's picture
Registered: May 30 2008
Posts: 10

Hi,

I have one requirement to load 3D object (u3d/DWG/etc..) file into PDF file using script.

I have one List Box in PDF file. List Box contains List of 3d Part name. In that List Box data comes from the database. I want to load dynamically those 3D parts (u3d/DWG/etc..) files according to selected Item in that List Box.

Is it possible to do that?

I am excepting quick and positive reply.

Thanks,

My Product Information:
Acrobat 3D 8.1.2, Windows
theMightyAtom
theMightyAtom's picture
Registered: Dec 10 2008
Posts: 1
No, as far as I can tell (sorry it wasn't quick or positive ;O)

If in the meantime you have found a way please post it!

Cheers
relswick
relswick's picture
Registered: Jan 4 2009
Posts: 4
I was thinking of doing something similar. I took a look at a round about way of doing it through modifying the UI elements, but I don't think it would work that way either. Haven't tried it yet as it isn't a requirement at this point. Another way I believe you could definitely do it is through the SDK.

Take a look at the Embed3dData and I would expect this to resolve the issue your looking for. However it requires C++ plugin development; however the example looks pretty decent from a quick look through.
UVSAR
UVSAR's picture
Expert
Registered: Oct 29 2008
Posts: 1357
Making a PDF out of a non-PDF 3D file is strictly an Acrobat Pro Ex or Acro3D feature - you can't add that feature (legally) to Reader or Standard, and by allowing dynamic import of a 3D file into an Annotation, that's in effect what you're asking to do. The person can "make" a new 3D PDF and save it, so a plugin for APEX/A3D would be possible (though I don't know anyone who's done it yet), but not in Reader.

The only option in Reader would be to embed all the models as resource assets (already in the PDF but invisible) and manage their visibility in the scene tree using javascript. To the user it'll appear the same as if they're being loaded on demand, but the PDF will have to contain everything statically.