Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to remove my external command from External tools list?

3 REPLIES 3
Reply
Message 1 of 4
nur91m
754 Views, 3 Replies

How to remove my external command from External tools list?

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

 

 

Labels (3)
3 REPLIES 3
Message 2 of 4
RPTHOMAS108
in reply to: nur91m

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.

 

Message 3 of 4
ameer.mansourWAK8Y
in reply to: nur91m

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>

  

Message 4 of 4

@Anonymous which is hide from ribbon tool bar also.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Customer Advisory Groups


Rail Community