I'm trying to make a new 3D PDF template for Inventor with use of the autodesk samples.
The buttons I want to reproduce are, front view, back view, top view etc.
The code used is very simple:
Do you have an idea what I'm missing or need to do to get this to work?
Thanks for the fast reply.
It only gives me this error:
ReferenceError: ANARKCOREDATA is not defined
But this error is also given in the Autodesk sample that works (Inventor uses AnarkCore to export to 3D PDF).
When I try the button I get the error:
this.akBom is undefined
The buttons call a functions that reside in a document level script. The buttons won't work when you just copy them into another document, you also need to copy the document level script.
Thats what I was searching for.
I think this will be enough to get it to work.
Thanks, Bernd for your help as well!
In this document the object this.akBom is defined.