Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Export to 3D PDF Sample C# Code from the Documentation is not working.

jmacapagal2CD9H
Contributor

Export to 3D PDF Sample C# Code from the Documentation is not working.

jmacapagal2CD9H
Contributor
Contributor

Good day!

 

I've been working on Exporting to 3d pdf using AnarkCore, however, using the provided sample C# codes from the documentation is not working when I try to use it from a custom addin that I created. Below is the actual error. Do you have any Ideas? 

jmacapagal2CD9H_0-1655799702909.png

jmacapagal2CD9H_1-1655799714334.png

 

 

Thank you.

 

0 Likes
Reply
Accepted solutions (1)
382 Views
3 Replies
Replies (3)

Zach.Stauffer
Advocate
Advocate

I don't have any experience with this personally, but what I would try is to comment out the "oOptions.Value" lines one at a time until it works, and then you'll know which option setting it doesn't like. Once you know that it is easier to figure out why it's not working.

0 Likes

jmacapagal2CD9H
Contributor
Contributor
It does not work if I use the same code from the custom addin that I created but, somehow works from a simple application that I made.
0 Likes

jmacapagal2CD9H
Contributor
Contributor
Accepted solution

Declare the oDoc as dynamic ex: dynamic oDoc = mApp.ActiveDocument. Answer came from the Dev support

0 Likes