SimpleAddIn + Inv 2012 +Win7 x64

SimpleAddIn + Inv 2012 +Win7 x64

Anonymous
Not applicable
583 Views
3 Replies
Message 1 of 4

SimpleAddIn + Inv 2012 +Win7 x64

Anonymous
Not applicable

Hello,

 

I have a problem with the SimpleAddIn, with comes with the SDK as Sample.

 

I have created the SimpleAddIn.addin file as explained and compiled the SimpleAddIn by VB-Net 2008.

 

After copiing the files in the directories as explained, Inv does not load the Addin.

 

I guess that the Registration is not working or fails.

 

I get no errors.

Also a manual registration using REGASM 64  in a batch-file seems to work but the Addin is still not loaded by Inv.

 

So what is wrong?

The compiler is set to ANY CPU and shoud produce 64 bit Code.

 

Is there any information aviable how to create correct Code for Inv 2012 x64 and the correct registration?

 

Manfred

 

0 Likes
584 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

Hi,

 

I faced the same error. What fixed the problem to me was to pay attention to the spaces between tags (they are not correct saved in the readme file)

 

Therfore:

 

<?xml version="1.0" encoding="utf-8"?>

<!-- Type attribute is same as Type registry key (Standard, Translator, Plugin (Server only) -->
<Addin Type="Translator">

  <ClassId>...

 

I hope this help.

0 Likes
Message 3 of 4

Anonymous
Not applicable

Hi,

 

thank you very much for your advice.

That was it.

 

Manfred

0 Likes
Message 4 of 4

Anonymous
Not applicable

Hi,

 

In the SDK, there are some examples, and inside every example a readme.txt. Just follow the instructions and save the following code into a addin file:

 

<?xml version="1.0" encoding="utf-8"?>
<!-- Type attribute is same as Type registry key (Standard, Translator, Plugin (Server only) -->

<Addin Type="Standard">
     <ClassId>{963308E2-D850-466D-A1C5-503A2E171552}</ClassId>
     <ClientId>{963308E2-D850-466D-A1C5-503A2E171552}</ClientId>

     <!-- Both of the following fields should be translated. NO OTHER FIELDS SHOULD BE TRANSLATED! -->
     <DisplayName>SimpleAddIn</DisplayName>
     <Description>SimpleAddIn</Description>

     <!-- Assumes that SimpleAddIn.dll is underneath Inventor\bin -->
     <Assembly>SimpleAddIn.dll</Assembly>

     <SupportedSoftwareVersionGreaterThan>15..</SupportedSoftwareVersionGreaterThan>
     <LoadOnStartUp>1</LoadOnStartUp>
     <Hidden>0</Hidden>

</Addin>

 

Leave this file into: c:/prgramData/Inventor20xx... (as are explained in the readme file) and leave the dll into the c:/programfiles/Atodesk/... (modify the path in the addin file (marked in red!)

 

I hope this works!

 

Javier

 

0 Likes