
######################################
A3DPDF3DArtworkEditAnimationJavascript
######################################

.. c:function:: A3DStatus A3DPDF3DArtworkEditAnimationJavascript(A3DPDF3DArtwork *p3DArtwork, const A3DUTF8Char *pcJavascriptFile, A3DBool bUseAnimationFile)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DPDF3DArtworkEditAnimationJavascript(:c:type:`~A3DPDF3DArtwork`\ \* **p3DArtwork**\ , *const* :c:type:`~A3DUTF8Char`\ \* **pcJavascriptFile**\ , :c:type:`~A3DBool` **bUseAnimationFile**\ )
   
   Debug function to edit the JavaScript stream corresponding to the animation data in a file.
   
   If bUseAnimationFile is set to false, the 'standard' JavaScript of the animation will be created from the animation data. If true, the output file will be used instead of the animation data. To use the new content, the code execution should be stopped after the call to this function, then the code modified, then the execution restarted. This function must be called before A3DPDF3DAnnotCreate.
   
   **Return Values**
   
   
      **A3D_SUCCESS**\ :
   
   
   
      6.1
   
   
   **Parameters**
   
   
      **p3DArtwork**\ : The artwork which contains the animation.
   
      **pcJavascriptFile**\ : The path of the file in which the JavaScript will be outputted. The content of the file can be modified by the user.
   
      **bUseAnimationFile**\ : If true, the modified content will be used to generate the final PDF file.
   
   
   **Returns**
   
   
      A3D_SUCCESS in case of success or an error code
   
   




