Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Referenceerror Matrix4x4 is not defined

New Here ,
Mar 15, 2018 Mar 15, 2018

  the js file is attached to the 1.7 PDF file.

TOPICS
Acrobat SDK and JavaScript , Windows
412
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2018 Mar 15, 2018

You'll have to provide more details.  How is this JS attached? and what is it doing?

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 16, 2018 Mar 16, 2018

It is attached using the Haru Free PDF Library 2.4. It should set a Matrix4x4 for a node, I'm trying  to do this with this line of code:

myNewMatrix4x4= new Matrix4x4();

my3d.scene.nodes.getByIndex(0).transform.set(myNewMatrix4x4) );

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 16, 2018 Mar 16, 2018
LATEST

You didn't mention this was a 3D script. You are in the wrong forum.

Ask your question in this forum:

Rich Media & 3D

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines