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

views missing when importing annotation with IAC

Community Beginner ,
Oct 30, 2017 Oct 30, 2017

Dear all,

I want to import the annotation from a fdf file which includes 3d annotes.  (the model is in PRC format)

I am using a c# program to call the function retrieveAnnotsFromFile(doc). The texts are imported successfully, but the views are missing.

But when I call the same function with JS within acrobat through button event, the function works fine, all texts and views are imported successfully.

I was wondering if I need to do something extra for importing the annotes views with IAC.

thanks and regards,

TOPICS
Acrobat SDK and JavaScript
663
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
LEGEND ,
Oct 31, 2017 Oct 31, 2017

Have you tried using JavaScript via IAC instead?

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 Beginner ,
Oct 31, 2017 Oct 31, 2017

Hi, Test Screen Name

To be more specific, I use IAC to call an folder level JS, which include retrieveAnnotsFromFile(doc) function.

I create a button within the pdf to call the same JS on its click event, and the view is imported correctly.

I am using acrobat XI.

Thanks.

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
LEGEND ,
Oct 31, 2017 Oct 31, 2017

Any messages in the JavaScript console?

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 Beginner ,
Oct 31, 2017 Oct 31, 2017

no message in console.

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 Beginner ,
Nov 01, 2017 Nov 01, 2017

Hi, expert

Some new findings, I tried to add a normal remark, (not 3D annotation). Seems the view can be loaded correctly. But only the views and remarks for 3d annotation are missing. anything special for 3d annotation?

regards,

Mingdi

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
Adobe Employee ,
Nov 01, 2017 Nov 01, 2017

Yes, many things are special about 3D annotations

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 Beginner ,
Nov 01, 2017 Nov 01, 2017

Is there anything that I need set or rebuild after importing the 3d annotation? My confusion is that the function runs well when triggered by event in the AcroExch.App window, but does not when called with IAC. So, I was wondering is that because some authority is not set for running such a funcion through IAC? Or maybe it is caused by the restriction of AcroExch.App object?

Thanks.

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
Adobe Employee ,
Nov 01, 2017 Nov 01, 2017

Could also be a bug…

Are you working with the latest version of Acrobat DC?

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 Beginner ,
Nov 01, 2017 Nov 01, 2017

I am using acrobat XI

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
Adobe Employee ,
Nov 01, 2017 Nov 01, 2017
LATEST

Ah – no idea then.

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