External Tool not appearing revit 2019

External Tool not appearing revit 2019

Mohamed.E.Salem
Advocate Advocate
2,865 Views
3 Replies
Message 1 of 4

External Tool not appearing revit 2019

Mohamed.E.Salem
Advocate
Advocate

hi my friends ,

the external tools button does not show up on my update of Revit 2019 . I tried to use the Revit Platform API and C# to create a Hello World program. I followed all steps in the API help "Walkthrough: Hello World".

http://help.autodesk.com/view/RVT/2019/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_G...

I have read throught the forums .but , i can't find a solution. anyone can help.

Capture.PNG

0 Likes
2,866 Views
3 Replies
Replies (3)
Message 2 of 4

stever66
Advisor
Advisor

Although these were VB.net, check these two threads;

 

https://forums.autodesk.com/t5/revit-api-forum/class-cannot-be-found-in-the-addin-assembly-vb-net/td...

 

and this:

https://forums.autodesk.com/t5/revit-api-forum/my-add-in-application-vb-net-doesn-t-appear-on-addins...

 

If you get no error message when revit starts, and revit doesn't ask if you want to load the .dll file, it probably isn't reading the manifest file.   Most common cause is that Notepad is adding a .txt on the end of the filename.  You have to check the file name in windows file explorer, and to do that, you have to make sure windows file explorer is set to show all file extensions. 

0 Likes
Message 3 of 4

BIM.Frankliang
Collaborator
Collaborator

Hi Friend,

 

     You may check your .addin file or you could post your addin file as attachment, so we can help you to find out reason. Wish it is helpful 🙂

 

Best Regards,

Frank Liang

名片2.png

 

 

0 Likes
Message 4 of 4

Mohamed.E.Salem
Advocate
Advocate

The addin file may be helpfull

<table cellpadding="4" cellspacing="0" summary="" id="GUID-8EB25D2A-3CAF-486A-BA8E-C2BEF3DB68F6__TABLE_76DD0E62A5B84319AAF1428416F6419B" class="table" frame="border" border="1" rules="all">

<thead class="thead" align="left">

<tr class="row">

<th class="entry" valign="top"></th>

</tr>

</thead>

<tbody class="tbody">

<tr class="row">

<td class="entry" valign="top"><b>Code Region 2-2: Creating a .addin manifest file for an external command</b>

</td>

</tr>

<tr class="row">

<td class="entry" valign="top">

<pre class="pre codeblock prettyprint"><?xml version="1.0" encoding="utf-8" standalone="no"?>
<RevitAddIns>
        <AddIn Type="Command">
                <Assembly>C:\Users\Mohamed\source\repos\HelloWord\HelloWord\bin\Debug\HelloWord.dll</Assembly>
                <AddInId>9F4529BD-9FA8-4714-BA38-2E49BC64E7F0</AddInId>
                <FullClassName>HelloWorld.Class1</FullClassName>
                <Text>HelloWorld</Text> 
                <VendorId>mohamed</VendorId>
                <VendorDescription>salemgroup</VendorDescription> 
        </AddIn>
</RevitAddIns></pre>

</td>

</tr>

</tbody>

</table>
0 Likes