How to Control Child Subnode Visibility in Acrobat 3D PDF
Question details
The user needs to know what information and steps are required to create an Acrobat 3D JavaScript solution for moving PRC objects and changing child subnode visibility.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Developing a JavaScript solution to manipulate 3D elements (PRC objects) and adjust the visibility of subnodes within an interactive 3D PDF document.
- Observed behavior
- The user requires the structural parameters, runtime access methods, and API testing requirements needed to successfully implement the 3D script.
Ensure you have access to the exact PRC model hierarchy, exact node names, and verify that your target PDF viewer fully supports 3D scripting APIs.
Implement a 3D JavaScript Solution for Acrobat
Gather the necessary PRC model details and write a script to target the 3D runtime for subnode manipulation.
To successfully move PRC objects and control visibility, the script must interact directly with the 3D runtime environment of the PDF.
Accurate node targeting is crucial, as the JavaScript needs to identify the exact elements within the model hierarchy to apply visibility changes.
Extract the PRC model hierarchy and record the exact node names you wish to manipulate from your 3D model.
Clearly outline the specific movement coordinates or the visibility states (e.g., true/false) required for the target child subnodes.
Create a script that accesses the 3D runtime context of the PDF document and applies the visibility changes to the appropriately named child nodes.
Embed the JavaScript into a sample 3D PDF file and open it in Adobe Acrobat to verify that the viewer supports the required 3D scripting APIs and that the subnodes behave as intended.
Manage Standard PDFs Easily with WPS Office
While complex 3D PDF JavaScript manipulation requires specialized engineering software like Adobe Acrobat, WPS Office provides a free, lightweight, and highly compatible solution for viewing, editing, and managing all your standard PDF documents.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the software: Run the installer and follow the simple on-screen instructions to set up the WPS suite on your device.
- 3. Open and edit PDFs: Launch WPS PDF to open your standard documents, where you can easily highlight, annotate, and edit text seamlessly.

Frequently Asked Questions
What is a PRC object in a 3D PDF?
PRC (Product Representation Compact) is a highly compressed 3D file format that can be embedded directly into PDF documents. It retains product structure, geometry, and product manufacturing information (PMI) for interactive viewing.
Why isn't my 3D JavaScript working in other PDF readers?
Many third-party or browser-based PDF readers do not include the 3D runtime or the specific JavaScript APIs necessary to execute 3D manipulation. Adobe Acrobat or a specialized 3D PDF viewer is typically required.
How can I find the exact node names of my 3D model in Acrobat?
You can find the exact node names by opening the Model Tree panel in Adobe Acrobat's 3D viewer. This panel displays the complete hierarchy of the embedded PRC model, allowing you to identify the specific child subnodes for your script.




