# A3DPDF3DArtworkData2

struct `A3DPDF3DArtworkData2`

  `A3DPDF3DArtworkData2`structure.

  > 8.1

  ## Index

  Variables

  - `m_pStream`
  - `m_pcJavaScriptFileName`
  - `m_bActivatePMICrossHighlight`
  - `m_bAddPMISemanticInformation`
  - `m_bKeepNativeDefaultView`
  - `m_bUseRuntimeDisplaySettings`
  - `m_eAnimationStyle`
  - `m_iNumberOfAnimations`
  - `m_ppAnimations`
  - `m_bChangePMIColor`
  - `m_sPMIColor`
  - `m_sDisplaySectionData`
  - `m_bAddAdditionalGeometry`
  - `m_bDisableJSForInitSetView`

Variables

A3DPDF3DStream *`A3DPDF3DArtworkData2.``m_pStream`
  `A3DPDF3DStream`*

  Specifies the 3D stream object created from the 3D data.

A3DUTF8Char *`A3DPDF3DArtworkData2.``m_pcJavaScriptFileName`
  `A3DUTF8Char`*

  A JavaScript file to store on the 3D Annot.

A3DBool `A3DPDF3DArtworkData2.``m_bActivatePMICrossHighlight`
  `A3DBool`

  If true, some JavaScript code is generated so that when the user clicks on a markup, the associated surface is highlighted.

  Only works with Acrobat 11 and later.

A3DBool `A3DPDF3DArtworkData2.``m_bAddPMISemanticInformation`
  `A3DBool`

  If true, the information on semantic PMI is added as nodes attributes on the model tree.

A3DBool `A3DPDF3DArtworkData2.``m_bKeepNativeDefaultView`
  `A3DBool`

  If true, if there’s a default view in the PRC modelfile: the default view in the resulting PDF will be that one, no matter if other default views are defined at PDF level.

  In other situations (no default view in the PRC modelfile; or the boolean is false): a default view is defined at the PDF level. A default view at the PDF level means a view programmatically created using `A3DPDFViewCreate()`, or a default view automatically created by HOOPS Publish if no default view is already defined.This boolean is not used if the 3D stream is created with `A3DPDF3DStreamCreateFromFile()`.

A3DBool `A3DPDF3DArtworkData2.``m_bUseRuntimeDisplaySettings`
  `A3DBool`

  This boolean controls which display settings (rendering style, background color and lighting) are applied to the 3D annotation when a view is activated.

  - If the boolean is true, all the views have initially the default display settings, then if the end-user manually changes the settings, this change affects all the views except the ‘home’ view (the view associated to the ‘home’ icon in Adobe Reader) for which it resets to the default display settings. The default display settingsare the ones assigned to the default view:`A3DPDF3DAnnotData`values if the default view is a native or the automatic view, and `A3DPDFViewData`if the default view is a Publish view.

  - If the boolean is false, activating a view resets the display settings as predefined programmatically on the view, whatever the user might manually change. The settings have `A3DPDF3DAnnotData`values and are all the same for native views or the automatic view; and they have `A3DPDFViewData`values for Publish views, which can be potentially different for each view.

    > All the display behaviors might be affected by a bug in Adobe Reader when the toolbar is not displayed. For a full control of display settings, it might be better to always display the toolbar. If not, unexpected rendering might be observed.

A3DPDFEAnimationStyle `A3DPDF3DArtworkData2.``m_eAnimationStyle`
  `A3DPDFEAnimationStyle`

  The animation style.

A3DUns32 `A3DPDF3DArtworkData2.``m_iNumberOfAnimations`
  `A3DUns32`

  Number of animations.

  > 6.0

A3DPDFAnimation **`A3DPDF3DArtworkData2.``m_ppAnimations`
  `A3DPDFAnimation`**

  Animations.

  > 6.0

A3DBool `A3DPDF3DArtworkData2.``m_bChangePMIColor`
  `A3DBool`

  If the boolean is true, the color of the markups in the artwork will be set to m_adRGB; otherwise, it will remain like it already was.

  > 8.0

A3DPDFRgbColorData `A3DPDF3DArtworkData2.``m_sPMIColor`
  `A3DPDFRgbColorData`

  Color of the markups in the artwork if m_bChangePMIColor is set to true.

  > 8.0

A3DPDFSectionDisplayData `A3DPDF3DArtworkData2.``m_sDisplaySectionData`
  `A3DPDFSectionDisplayData`

  Settings for the cross sections display.

  > 8.1

A3DBool `A3DPDF3DArtworkData2.``m_bAddAdditionalGeometry`
  `A3DBool`

  If true, the curves related to edges highlighted by a markup will be computed (only if m_bActivatePMICrossHighlight is set to true.

  > 9.1

A3DBool `A3DPDF3DArtworkData2.``m_bDisableJSForInitSetView`
  `A3DBool`

  If false, a javascript code is added to 3D annotation to generate a CameraEventHandler event when a default view is defined.

  This enables CameraEventHandler code to be launched at file is opening on the default view, and consequently to add specific additional development. If true, this javascript is not added. It is useful for PDF files that have to be edited with Acrobat to modify the default view.

  > 11.1

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...