How to remove my external command from External tools list?

nur91m
Advocate
Advocate

How to remove my external command from External tools list?

nur91m
Advocate
Advocate

When I register my addins as an external command, they are appeared in the External tools list. I use them from Pushbuttons. But I want hide them from External tools list. How can I do that?  

nur91m_1-1607336284386.png

 

 

0 Likes
Reply
866 Views
3 Replies
Replies (3)

RPTHOMAS108
Mentor
Mentor

In the manifest file (.addin) change:

<AddIn Type="Command"> to <AddIn Type="Application">

 

A class in your assembly will have to also implement IExternalApplication or IExternalDBApplication.

 

IExternalApplication used to add items to the UI that reference your IExternalCommand

IExternalDBApplication used where no access to UI features are required or permitted.

 

ameer.mansourWAK8Y
Advocate
Advocate

use this tag VisibilityMode  in your add-in

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<RevitAddIn>
  <AddIn Type="Command">
    <Text>Loose Connectors</Text>
    <Description>List all unconnected Revit MEP connectors</Description>
    <VisibilityMode>NotVisibleInArchitecture</VisibilityMode>
    <VisibilityMode>NotVisibleInFamily</VisibilityMode>
    <VisibilityMode>NotVisibleInStructure</VisibilityMode>
    <VisibilityMode>NotVisibleWhenNoActiveDocument</VisibilityMode>
    <Assembly>C:\bin\LooseConnectors.dll</Assembly>
    <FullClassName>LooseConnectors.Command</FullClassName>
    <ClientId>fc508f72-84b2-4e82-942c-ad9ec07cbe4a</ClientId>
  </AddIn>
</RevitAddIn>

  

thiru2jack
Enthusiast
Enthusiast
@Anonymous which is hide from ribbon tool bar also.
0 Likes