Latest Apprentice dll

Latest Apprentice dll

NachoShaw
Advisor Advisor
927 Views
5 Replies
Message 1 of 6

Latest Apprentice dll

NachoShaw
Advisor
Advisor

Hi

 

Where can i find or download the latest InventorApprentice.dll? It doesnt seem to come with Inventor these days or if it does, i cant find it. I downloaded a version of InventorView and referenced the dll from there but ive got a bunch of warnings like this one-

 

Processing COM reference "InventorApprentice" from path "C:\Program Files\Autodesk\Inventor 2022\Bin\RxApprentice.tlb". At least one of the arguments for 'IRxFileSaveAs._WhereUsed' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.

 

i figured it must be a version issue as i didnt have the warnings on 2019 but in 2021 using the same InventorApprentice reference i do.

 

im looking for 2021 & 2022

 

 

thanks

 

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes
928 Views
5 Replies
Replies (5)
Message 2 of 6

nmunro
Collaborator
Collaborator
0 Likes
Message 3 of 6

NachoShaw
Advisor
Advisor

Hi

 

i had downloaded that and installed it. Im going to remove the reference and use Apprentice from inventor instead 🙂

 

 

Thanks

 

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes
Message 4 of 6

KelvionLicenseManagement
Contributor
Contributor

Does somebody know which file and path exactly needs to be added as a reference to visual studio to get access to the Apprentice component? I have installed Inventor View 2021 with Apprentice Server but Visual Studio does not add this as a reference e.g. "C:\Program Files\Autodesk\Inventor View 2021\Bin\Bin32\RxApprentice.tlb" 

0 Likes
Message 5 of 6

JelteDeJong
Mentor
Mentor

Hi Cornelius,

 

you need to reference the dll:

C:\Program Files\Autodesk\Inventor 2021\Bin\Public Assemblies\Autodesk.Inventor.Interop.dll

Also, make sure that your "Target platform" is set to "x64" (In your build properties)

 

I created a small test/example application.

https://github.com/hjalte79/InventorApiTesterApprentice

https://github.com/hjalte79/InventorApiTesterApprentice/blob/master/InventorApiTesterApprentice/Prog...

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

0 Likes
Message 6 of 6

KelvionLicenseManagement
Contributor
Contributor

Hi Jelte, 

 

the dll I was searching for can be found here:

"C:\Program Files\Autodesk\Inventor View 2021\Bin\RxApprenticeInterop.dll"

 

You only need an installation of Inventor View(with Apprentice) to get the library.

0 Likes